studs.tpl : Add a Form convering the whole page
This commit is contained in:
parent
fcaea63b84
commit
fafa5393ed
@ -1,6 +1,8 @@
|
|||||||
{include file='head.tpl'}
|
{include file='head.tpl'}
|
||||||
{include file='header.tpl'}
|
{include file='header.tpl'}
|
||||||
|
|
||||||
|
<form action="{$poll_id|poll_url}" method="POST">
|
||||||
|
|
||||||
{* Global informations about the current poll *}
|
{* Global informations about the current poll *}
|
||||||
|
|
||||||
<div class="jumbotron">
|
<div class="jumbotron">
|
||||||
@ -143,12 +145,10 @@
|
|||||||
|
|
||||||
{if $poll->active && $poll->editable}
|
{if $poll->active && $poll->editable}
|
||||||
<td>
|
<td>
|
||||||
<form action="{$poll_id|poll_url}" method="POST">
|
<input type="hidden" name="edit_vote" value="{$vote->id}"/>
|
||||||
<input type="hidden" name="edit_vote" value="{$vote->id}"/>
|
<button type="submit" class="btn btn-link btn-sm" name="edit_vote" title="{_('Edit the line:')} {$vote->name}">
|
||||||
<button type="submit" class="btn btn-link btn-sm" title="{_('Edit the line:')} {$vote->name}">
|
<span class="glyphicon glyphicon-pencil"></span><span class="sr-only">{_('Edit')}</span>
|
||||||
<span class="glyphicon glyphicon-pencil"></span><span class="sr-only">' . _('Edit') . '</span>
|
</button>
|
||||||
</button>
|
|
||||||
</form>
|
|
||||||
</td>
|
</td>
|
||||||
{else}
|
{else}
|
||||||
<td></td>
|
<td></td>
|
||||||
@ -159,5 +159,5 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</form>
|
||||||
{include file='footer.tpl'}
|
{include file='footer.tpl'}
|
Loading…
Reference in New Issue
Block a user