OpenSlides/openslides/motions/static/templates/motions/motion-form.html

19 lines
697 B
HTML
Raw Normal View History

<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>
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
{{ alert.msg }}
</uib-alert>
<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>
Save
</button>
<button ng-click="closeThisDialog()" class="btn btn-default" translate>
Cancel
</button>
</formly-form>
</form>