2015-11-30 14:55:41 +01:00
|
|
|
<h1><translate>Ballot</translate> {{ ballot }}</h1>
|
2015-11-25 21:31:08 +01:00
|
|
|
|
2016-09-18 21:09:37 +02:00
|
|
|
<div uib-alert ng-show="alert.show" ng-class="'alert-' + (alert.type || 'warning')" ng-click="alert={}" close="alert={}">
|
2016-01-14 22:43:49 +01:00
|
|
|
{{ alert.msg }}
|
2016-09-18 21:09:37 +02:00
|
|
|
</div>
|
2016-01-14 22:43:49 +01:00
|
|
|
|
|
|
|
<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="assignmentPollForm" ng-submit="save(model)">
|
2015-11-25 21:31:08 +01:00
|
|
|
<formly-form model="model" fields="formFields">
|
2016-08-26 06:33:27 +02:00
|
|
|
<template-hook hook-name="assignmentPollFormButtons"></template-hook>
|
2016-01-14 22:43:49 +01:00
|
|
|
<button type="submit" ng-disabled="assignmentPollForm.$invalid" class="btn btn-primary" translate>
|
2016-01-10 13:47:59 +01:00
|
|
|
Save
|
2015-11-25 21:31:08 +01:00
|
|
|
</button>
|
|
|
|
<button ng-click="closeThisDialog()" class="btn btn-default" translate>
|
|
|
|
Cancel
|
|
|
|
</button>
|
|
|
|
</formly-form>
|
|
|
|
</form>
|