Skip to content
Snippets Groups Projects
Commit fafa5393 authored by Olivier PEREZ's avatar Olivier PEREZ
Browse files

studs.tpl : Add a Form convering the whole page

parent fcaea63b
No related branches found
No related tags found
No related merge requests found
{include file='head.tpl'}
{include file='header.tpl'}
<form action="{$poll_id|poll_url}" method="POST">
{* Global informations about the current poll *}
<div class="jumbotron">
......@@ -143,12 +145,10 @@
{if $poll->active && $poll->editable}
<td>
<form action="{$poll_id|poll_url}" method="POST">
<input type="hidden" name="edit_vote" value="{$vote->id}"/>
<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>
</button>
</form>
<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}">
<span class="glyphicon glyphicon-pencil"></span><span class="sr-only">{_('Edit')}</span>
</button>
</td>
{else}
<td></td>
......@@ -159,5 +159,5 @@
</tbody>
</table>
</div>
</form>
{include file='footer.tpl'}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment