Added missing motionpoll-form template. Fix remark in motion-detail.

This commit is contained in:
Emanuel Schuetze 2016-01-15 09:45:39 +01:00
parent ffe80e8da3
commit d8aee16fec
2 changed files with 21 additions and 1 deletions

View File

@ -185,7 +185,6 @@
<translate>New vote</translate> <translate>New vote</translate>
</button> </button>
</div> </div>
<div class="col-sm-1"></div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -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>