diff --git a/app/assets/stylesheets/admin.scss b/app/assets/stylesheets/admin.scss
index cc11557c5..5c7aab0fc 100644
--- a/app/assets/stylesheets/admin.scss
+++ b/app/assets/stylesheets/admin.scss
@@ -155,6 +155,11 @@ body.admin {
}
}
+.admin .tabs-panel {
+ padding-left: 0;
+ padding-right: 0;
+}
+
// 02. Sidebar
// -----------
diff --git a/app/views/admin/poll/polls/_booths.html.erb b/app/views/admin/poll/polls/_booths.html.erb
index ae6d28abe..4d52d8a74 100644
--- a/app/views/admin/poll/polls/_booths.html.erb
+++ b/app/views/admin/poll/polls/_booths.html.erb
@@ -1,39 +1,34 @@
-
-
- <% if @poll.booths.empty? %>
-
- <%= t("admin.polls.show.no_booths") %>
-
- <% else %>
+
<%= t("admin.polls.show.booths_title") %>
-
<%= t("admin.polls.show.booths_title") %>
-
-
-
- | <%= t("admin.polls.show.name") %> |
- <%= t("admin.polls.show.location") %> |
- |
-
-
- <% @poll.booths.each do |booth| %>
-
- |
-
- <%= link_to booth.name, admin_booth_path(booth) %>
-
- |
-
- <%= booth.location %>
- |
-
- <%= link_to t("admin.polls.show.remove_booth"),
- "#",
- class: "button hollow alert" %>
- |
-
- <% end %>
-
-
- <% end %>
+<% if @poll.booths.empty? %>
+
+ <%= t("admin.polls.show.no_booths") %>
-
\ No newline at end of file
+<% else %>
+
+
+ | <%= t("admin.polls.show.name") %> |
+ <%= t("admin.polls.show.location") %> |
+ |
+
+
+ <% @poll.booths.each do |booth| %>
+
+ |
+
+ <%= link_to booth.name, admin_booth_path(booth) %>
+
+ |
+
+ <%= booth.location %>
+ |
+
+ <%= link_to t("admin.polls.show.remove_booth"),
+ "#",
+ class: "button hollow alert" %>
+ |
+
+ <% end %>
+
+
+<% end %>
diff --git a/app/views/admin/poll/polls/_filter_subnav.html.erb b/app/views/admin/poll/polls/_filter_subnav.html.erb
index d92cf7235..e55e52f63 100644
--- a/app/views/admin/poll/polls/_filter_subnav.html.erb
+++ b/app/views/admin/poll/polls/_filter_subnav.html.erb
@@ -1,30 +1,20 @@
-
-
-
- -
- <%= link_to "#tab-questions" do %>
-
- <%= t("admin.polls.show.questions_tab") %>
-
-
- <% end %>
-
- -
- <%= link_to "#tab-booths" do %>
-
- <%= t("admin.polls.show.booths_tab") %>
- (<%= @poll.booths.count %>)
-
- <% end %>
-
- -
- <%= link_to "#tab-officers" do %>
-
- <%= t("admin.polls.show.officers_tab") %>
- (<%= @poll.officers.count %>)
-
- <% end %>
-
-
-
-
\ No newline at end of file
+
+ -
+ <%= link_to "#tab-questions" do %>
+ <%= t("admin.polls.show.questions_tab") %>
+
+ <% end %>
+
+ -
+ <%= link_to "#tab-booths" do %>
+ <%= t("admin.polls.show.booths_tab") %>
+ (<%= @poll.booths.count %>)
+ <% end %>
+
+ -
+ <%= link_to "#tab-officers" do %>
+ <%= t("admin.polls.show.officers_tab") %>
+ (<%= @poll.officers.count %>)
+ <% end %>
+
+
diff --git a/app/views/admin/poll/polls/_officers.html.erb b/app/views/admin/poll/polls/_officers.html.erb
index 240eb7b1c..11b4cce50 100644
--- a/app/views/admin/poll/polls/_officers.html.erb
+++ b/app/views/admin/poll/polls/_officers.html.erb
@@ -1,33 +1,28 @@
-
-
- <% if @poll.officers.empty? %>
-
- <%= t("admin.polls.show.no_officers") %>
-
- <% else %>
+
<%= t("admin.polls.show.officers_title") %>
-
<%= t("admin.polls.show.officers_title") %>
-
-
-
- | <%= t("admin.polls.show.name") %> |
- <%= t("admin.polls.show.email") %> |
-
-
- <% @poll.officers.each do |officer| %>
-
- |
-
- <%= officer.name %>
-
- |
-
- <%= officer.email %>
- |
-
- <% end %>
-
-
- <% end %>
+<% if @poll.officers.empty? %>
+
+ <%= t("admin.polls.show.no_officers") %>
-
\ No newline at end of file
+<% else %>
+
+
+ | <%= t("admin.polls.show.name") %> |
+ <%= t("admin.polls.show.email") %> |
+
+
+ <% @poll.officers.each do |officer| %>
+
+ |
+
+ <%= officer.name %>
+
+ |
+
+ <%= officer.email %>
+ |
+
+ <% end %>
+
+
+<% end %>
diff --git a/app/views/admin/poll/polls/_questions.html.erb b/app/views/admin/poll/polls/_questions.html.erb
index 91f33196c..08b094ddf 100644
--- a/app/views/admin/poll/polls/_questions.html.erb
+++ b/app/views/admin/poll/polls/_questions.html.erb
@@ -1,29 +1,24 @@
-
-
- <% if @poll.questions.empty? %>
-
- <%= t('admin.polls.show.no_questions') %>
-
- <% else %>
+
<%= t("admin.polls.show.questions_title") %>
-
<%= t("admin.polls.show.questions_title") %>
-
-
- <% @poll.questions.each do |question| %>
-
- | <%= link_to question.title, admin_question_path(question) %> |
-
- <%= link_to t('shared.edit'),
- edit_admin_question_path(question),
- class: "button hollow" %>
- <%= link_to t('shared.delete'),
- admin_question_path(question),
- class: "button hollow alert",
- method: :delete %>
- |
-
- <% end %>
-
- <% end %>
+<% if @poll.questions.empty? %>
+
+ <%= t('admin.polls.show.no_questions') %>
-
\ No newline at end of file
+<% else %>
+
+ <% @poll.questions.each do |question| %>
+
+ | <%= link_to question.title, admin_question_path(question) %> |
+
+ <%= link_to t('shared.edit'),
+ edit_admin_question_path(question),
+ class: "button hollow" %>
+ <%= link_to t('shared.delete'),
+ admin_question_path(question),
+ class: "button hollow alert",
+ method: :delete %>
+ |
+
+ <% end %>
+
+<% end %>