OpenSlides/openslides/motions/static/templates/motions/motion-poll-form.html
Emanuel Schütze 2571d83195 Use a whitelist for getFormOrStateForCurrentSlide (fixes #3112, fixed #3038).
- Provided csv header fields as meta data while csv import (#3038).
- Consolidate (already translated) strings for motion poll.
- Fixed typos for MotionPoll model.
2017-03-22 15:37:08 +01:00

23 lines
824 B
HTML

<h1><translate>Vote</translate> {{ voteNumber }}</h1>
<div uib-alert ng-show="alert.show" ng-class="'alert-' + (alert.type || 'warning')" ng-click="alert={}" close="alert={}">
{{ alert.msg }}
</div>
<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">
<template-hook hook-name="motionPollFormButtons"></template-hook>
<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>