Rewrite views with Bootstrap
This commit is contained in:
parent
529f7118b1
commit
5a278fcddf
19 changed files with 424 additions and 279 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<h1><%= _("Admin") %></h1>
|
||||
<h1 class="mb-5"><%= _("Admin") %></h1>
|
||||
|
||||
<h2><%= @vote.title %></h2>
|
||||
<h2 class="mb-4"><%= @vote.title %></h2>
|
||||
|
||||
<p><a href="/votes/<%= @vote.secure_id %>"><%= _("View vote") %></a></p>
|
||||
|
||||
|
|
@ -14,13 +14,13 @@
|
|||
|
||||
<p><%= _("Closing date: %{date}") % { date: @vote.expire_on ? format_date_and_time(@vote.expire_on) : _("None") } %></p>
|
||||
|
||||
<p><%= _("State: %{state}") % { state: @vote.state } %></p>
|
||||
<p class="mb-5"><%= _("State: %{state}") % { state: @vote.state } %></p>
|
||||
|
||||
<h2><%= _("Organizers") %></h2>
|
||||
<h2 class="mb-4"><%= _("Organizers") %></h2>
|
||||
|
||||
<% unless @vote.organizers.blank? %>
|
||||
|
||||
<ul>
|
||||
<ul class="mb-5">
|
||||
<% @vote.organizers.each do |organizer| %>
|
||||
<li>
|
||||
<%= organizer.user.email %>
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
<% end %>
|
||||
|
||||
<h2><%= _("Ratings") %></h2>
|
||||
<h2 class="mb-4"><%= _("Ratings") %></h2>
|
||||
|
||||
<% unless @vote.ratings.blank? %>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue