a7f5d4dd3c
Required after ui-bootstrap upgrade.
19 lines
744 B
HTML
19 lines
744 B
HTML
<h1 ng-if="model.id" translate>Edit motion</h1>
|
|
<h1 ng-if="!model.id && !parent" translate>New motion</h1>
|
|
<h1 ng-if="parent"><translate>New amendment of motion</translate> {{ parent.identifier || parent.getTitle() }}</h1>
|
|
|
|
<div uib-alert ng-show="alert.show" ng-class="'alert-' + (alert.type || 'warning')" ng-click="alert={}" close="alert={}">
|
|
{{ alert.msg }}
|
|
</div>
|
|
|
|
<form name="motionForm" ng-submit="save(model)" novalidate>
|
|
<formly-form model="model" fields="formFields">
|
|
<button type="submit" ng-disabled="motionForm.$invalid" class="btn btn-primary" translate>
|
|
Save
|
|
</button>
|
|
<button type="button" ng-click="closeThisDialog()" class="btn btn-default" translate>
|
|
Cancel
|
|
</button>
|
|
</formly-form>
|
|
</form>
|