Use consistent layout
This commit is contained in:
parent
958ec8a2a9
commit
b254497ddc
2 changed files with 3 additions and 3 deletions
|
|
@ -51,7 +51,7 @@
|
||||||
<button type="submit">Add new organizer</button>
|
<button type="submit">Add new organizer</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<h2>Start voting period</h2>
|
<h3>Actions for organizers</h2>
|
||||||
|
|
||||||
<form action="/votes/<%= @vote.secure_id %>/open" method="post">
|
<form action="/votes/<%= @vote.secure_id %>/open" method="post">
|
||||||
<button type="submit">Open vote to participants</button>
|
<button type="submit">Open vote to participants</button>
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,6 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
<% if @vote.users.exists?(current_user.id) %>
|
|
||||||
|
|
||||||
<h2>Organizers</h2>
|
<h2>Organizers</h2>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
|
|
@ -41,6 +39,8 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<% if @vote.users.exists?(current_user.id) %>
|
||||||
|
|
||||||
<h3>Actions for organizers</h3>
|
<h3>Actions for organizers</h3>
|
||||||
|
|
||||||
<form action="/votes/<%= @vote.secure_id %>/reopen" method="post">
|
<form action="/votes/<%= @vote.secure_id %>/reopen" method="post">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue