23 lines
812 B
HTML
23 lines
812 B
HTML
<h1><translate>Ballot</translate> {{ ballot }}</h1>
|
|
|
|
<uib-alert ng-show="alert.show" type="{{ alert.type }}" ng-click="alert={}" close="alert={}">
|
|
{{ alert.msg }}
|
|
</uib-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="assignmentPollForm" ng-submit="save(model)">
|
|
<formly-form model="model" fields="formFields">
|
|
<template-hook hook-name="assignmentPollFormButtons"></template-hook>
|
|
<button type="submit" ng-disabled="assignmentPollForm.$invalid" class="btn btn-primary" translate>
|
|
Save
|
|
</button>
|
|
<button ng-click="closeThisDialog()" class="btn btn-default" translate>
|
|
Cancel
|
|
</button>
|
|
</formly-form>
|
|
</form>
|