Merge pull request #1873 from emanuelschuetze/motionFixes2
Added missing motionpoll-form template. Fix remark in motion-detail.
This commit is contained in:
commit
8ae35c0cc5
@ -185,7 +185,6 @@
|
||||
<translate>New vote</translate>
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-sm-1"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -0,0 +1,21 @@
|
||||
<h1><translate>Vote</translate> {{ voteNumber }}</h1>
|
||||
|
||||
<alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
||||
{{ alert.msg }}
|
||||
</alert>
|
||||
|
||||
<p>
|
||||
<translate>Special values</translate>:
|
||||
<span class="badge badge-success">-1</span> = <translate>majority</translate>
|
||||
<span class="badge">-2</span> = <translate>undocumented</translate>
|
||||
|
||||
<form name="motionPollForm" ng-submit="save(model)">
|
||||
<formly-form model="model" fields="formFields">
|
||||
<button type="submit" ng-disabled="motionPollForm.$invalid" class="btn btn-primary" translate>
|
||||
Save
|
||||
</button>
|
||||
<button ng-click="closeThisDialog()" class="btn btn-default" translate>
|
||||
Cancel
|
||||
</button>
|
||||
</formly-form>
|
||||
</form>
|
Loading…
Reference in New Issue
Block a user