decidim-admin/app/views/decidim/admin/newsletters/edit.html.erb in decidim-0.0.6 vs decidim-admin/app/views/decidim/admin/newsletters/edit.html.erb in decidim-0.0.7
- old
+ new
@@ -1,11 +1,13 @@
-<% provide :title do %>
- <h2><%= t ".title" %></h2>
-<% end %>
-
-<%= decidim_form_for(@form) do |f| %>
- <%= render partial: 'form', object: f %>
-
- <div class="actions">
+<%= decidim_form_for(@form, html: { class: "form edit_newsletter" }) do |f| %>
+ <div class="card">
+ <div class="card-divider">
+ <h2 class="card-title"><%= t ".title" %></h2>
+ </div>
+ <div class="card-section">
+ <%= render partial: 'form', object: f %>
+ </div>
+ </div>
+ <div class="button--double form-general-submit">
<%= f.submit t(".save_and_preview") %>
</div>
<% end %>