diff --git a/app/views/admin/poll/booth_assignments/_search_booths.html.erb b/app/views/admin/poll/booth_assignments/_search_booths.html.erb index e96e334c7..b8f5d7c80 100644 --- a/app/views/admin/poll/booth_assignments/_search_booths.html.erb +++ b/app/views/admin/poll/booth_assignments/_search_booths.html.erb @@ -1,16 +1,14 @@ -
| <%= t('admin.polls.show.table_title') %> | +<%= t("admin.polls.show.table_title") %> | |||
|---|---|---|---|---|
| <%= t("admin.polls.index.name") %> | +<%= t("admin.polls.index.name") %> | <%= t("admin.polls.index.dates") %> | -<%= t("admin.actions.actions") %> | +<%= t("admin.actions.actions") %> | <%= render @polls %> diff --git a/app/views/admin/poll/polls/new.html.erb b/app/views/admin/poll/polls/new.html.erb index ac3ba5a4d..6cc6c0d8f 100644 --- a/app/views/admin/poll/polls/new.html.erb +++ b/app/views/admin/poll/polls/new.html.erb @@ -1,6 +1,8 @@ -<%= back_link_to %> +
|---|---|---|---|---|
| <%= t('admin.questions.index.table_question') %> | -<%= t("admin.actions.actions") %> | +<%= t("admin.questions.index.table_question") %> | +<%= t("admin.actions.actions") %> | |
|---|---|---|---|---|
| <%= 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 %> + |
+
+ <%= link_to t("shared.edit"), edit_admin_question_path(question), class: "button hollow expanded" %>
+
+
+ <%= link_to t("shared.delete"), admin_question_path(question), class: "button hollow alert expanded", method: :delete %>
+ |
||
| <%= t('admin.questions.index.table_proposal') %> | -<%= t("admin.actions.actions") %> | +<%= t("admin.questions.index.table_proposal") %> | +<%= t("admin.actions.actions") %> | + |
<%= link_to t("admin.questions.index.create_question"),
new_admin_question_path(proposal_id: proposal.id),
class: "button hollow" %>
diff --git a/app/views/admin/poll/questions/answers/_form.html.erb b/app/views/admin/poll/questions/answers/_form.html.erb
index 3bb2ebe39..cbc450813 100644
--- a/app/views/admin/poll/questions/answers/_form.html.erb
+++ b/app/views/admin/poll/questions/answers/_form.html.erb
@@ -12,8 +12,8 @@
ckeditor: { language: I18n.locale } %>
-
- <%= f.submit(class: "button expanded", value: t("shared.save")) %>
+
+ <%= f.submit(class: "button success expanded", value: t("shared.save")) %>
<% end %>
diff --git a/app/views/admin/poll/questions/answers/edit.html.erb b/app/views/admin/poll/questions/answers/edit.html.erb
index 48fb4ad5d..46a8784cc 100644
--- a/app/views/admin/poll/questions/answers/edit.html.erb
+++ b/app/views/admin/poll/questions/answers/edit.html.erb
@@ -2,7 +2,7 @@
diff --git a/app/views/admin/poll/questions/answers/new.html.erb b/app/views/admin/poll/questions/answers/new.html.erb
index 1400bf765..c3af00be6 100644
--- a/app/views/admin/poll/questions/answers/new.html.erb
+++ b/app/views/admin/poll/questions/answers/new.html.erb
@@ -2,10 +2,10 @@
-<%= t('admin.questions.index.title') %>+<%= t("admin.questions.index.title") %>-<%= link_to t('admin.questions.index.create'), new_admin_question_path, - class: "button success float-right" %> +<%= link_to t("admin.questions.index.create"), new_admin_question_path, + class: "button float-right" %>
<%= render 'search' %>
diff --git a/app/views/admin/poll/questions/show.html.erb b/app/views/admin/poll/questions/show.html.erb
index fa56bfac4..094ebff83 100644
--- a/app/views/admin/poll/questions/show.html.erb
+++ b/app/views/admin/poll/questions/show.html.erb
@@ -29,13 +29,15 @@
|
|---|---|---|---|---|
| <%= t('admin.questions.show.valid_answers') %> - <%= link_to t("admin.questions.show.add_answer"), - new_admin_question_answer_path(@question), - class: "button float-right" %> |
|---|