a7f5d4dd3c
Required after ui-bootstrap upgrade.
18 lines
598 B
HTML
18 lines
598 B
HTML
<h1 ng-if="model.id" translate>Edit participant</h1>
|
|
<h1 ng-if="!model.id" translate>New participant</h1>
|
|
|
|
<div uib-alert ng-show="alert.show" ng-class="'alert-' + (alert.type || 'warning')" ng-click="alert={}" close="alert={}">
|
|
{{ alert.msg }}
|
|
</div>
|
|
|
|
<form name="userForm" ng-submit="save(model)">
|
|
<formly-form model="model" fields="formFields">
|
|
<button type="submit" ng-disabled="userForm.$invalid" class="btn btn-primary" translate>
|
|
Save
|
|
</button>
|
|
<button ng-click="closeThisDialog()" class="btn btn-default" translate>
|
|
Cancel
|
|
</button>
|
|
</formly-form>
|
|
</form>
|