diff --git a/app/views/admin/comments/index.html.erb b/app/views/admin/comments/index.html.erb index 1555fda0c..796ba5ebc 100644 --- a/app/views/admin/comments/index.html.erb +++ b/app/views/admin/comments/index.html.erb @@ -1,14 +1,12 @@ -
-

<%= t("admin.comments.index.title") %>

+

<%= t("admin.comments.index.title") %>

-
+ <%= link_to t("admin.actions.restore"), restore_admin_comment_path(comment), + method: :put, data: { confirm: t("admin.actions.confirm") } %> + + <% end %> + \ No newline at end of file diff --git a/app/views/admin/debates/index.html.erb b/app/views/admin/debates/index.html.erb index ce07205b3..688e1d062 100644 --- a/app/views/admin/debates/index.html.erb +++ b/app/views/admin/debates/index.html.erb @@ -1,13 +1,11 @@ -
-

<%= t("admin.debates.index.title") %>

+

<%= t("admin.debates.index.title") %>

-
\ No newline at end of file + <% end %> + \ No newline at end of file diff --git a/app/views/admin/debates/show.html.erb b/app/views/admin/debates/show.html.erb index aaa22eec9..65bf3554d 100644 --- a/app/views/admin/debates/show.html.erb +++ b/app/views/admin/debates/show.html.erb @@ -1,13 +1,11 @@ -
-

<%= t("admin.debates.index.title") %>

+

<%= t("admin.debates.index.title") %>

+ +
+
<%= @debate.title %>
+
<%= @debate.description %>
-
<%= @debate.title %>
-
<%= @debate.description %>
- -
- <%= link_to t('admin.actions.restore'), restore_admin_debate_path(@debate), - method: :put, data: { confirm: t('admin.actions.confirm') } %> -
+ <%= link_to t('admin.actions.restore'), restore_admin_debate_path(@debate), + method: :put, data: { confirm: t('admin.actions.confirm') } %>
\ No newline at end of file diff --git a/app/views/admin/tags/index.html.erb b/app/views/admin/tags/index.html.erb index 305728b1a..f272df1f3 100644 --- a/app/views/admin/tags/index.html.erb +++ b/app/views/admin/tags/index.html.erb @@ -1,28 +1,26 @@ -
-

<%= t("admin.tags.index.add_tag") %>

+

<%= t("admin.tags.index.add_tag") %>

- <%= form_for(@tag, url: admin_tags_path, as: :tag) do |f| %> - <%= f.text_field :name, placeholder: t("admin.tags.name.placeholder") %> - <%= f.check_box :featured, label: false %> - <%= t("admin.tags.mark_as_featured") %> - <%= f.submit(class: "button radius small") %> +<%= form_for(@tag, url: admin_tags_path, as: :tag) do |f| %> + <%= f.text_field :name, placeholder: t("admin.tags.name.placeholder") %> + <%= f.check_box :featured, label: false %> + <%= t("admin.tags.mark_as_featured") %> + <%= f.submit(class: "button radius small") %> +<% end %> + +

<%= t("admin.tags.index.title") %>

+ +
+ \ No newline at end of file diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index c754951f2..1d4157a8f 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb @@ -27,7 +27,10 @@ <%= side_menu %>
- <%= yield %> +
+ <%= yield %> +
+ \ No newline at end of file