2015-11-27 23:09:38 +01:00
|
|
|
<h1 ng-if="model.id" translate>Edit motion</h1>
|
2016-08-19 21:03:14 +02:00
|
|
|
<h1 ng-if="!model.id && !parent" translate>New motion</h1>
|
2016-08-25 13:39:00 +02:00
|
|
|
<h1 ng-if="parent"><translate>New amendment of motion</translate> {{ parent.identifier || parent.getTitle() }}</h1>
|
2015-03-09 15:40:54 +01:00
|
|
|
|
2016-01-18 21:09:28 +01:00
|
|
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
2016-01-16 14:19:00 +01:00
|
|
|
{{ alert.msg }}
|
2016-01-18 21:09:28 +01:00
|
|
|
</uib-alert>
|
2016-01-16 14:19:00 +01:00
|
|
|
|
2015-11-03 21:38:53 +01:00
|
|
|
<form name="motionForm" ng-submit="save(model)">
|
|
|
|
<formly-form model="model" fields="formFields">
|
|
|
|
<button type="submit" ng-disabled="motionForm.$invalid" class="btn btn-primary" translate>
|
2016-01-10 13:47:59 +01:00
|
|
|
Save
|
2015-11-03 21:38:53 +01:00
|
|
|
</button>
|
2015-11-27 23:09:38 +01:00
|
|
|
<button ng-click="closeThisDialog()" class="btn btn-default" translate>
|
2015-11-03 21:38:53 +01:00
|
|
|
Cancel
|
|
|
|
</button>
|
|
|
|
</formly-form>
|
2015-03-09 15:40:54 +01:00
|
|
|
</form>
|