app/views/spree/admin/promotions/new.html.erb in spree_promo-1.2.5 vs app/views/spree/admin/promotions/new.html.erb in spree_promo-1.3.0.rc1
- old
+ new
@@ -1,6 +1,16 @@
-<h1><%= t(:new_promotion) %></h1>
+<% content_for :page_title do %>
+ <%= t(:new_promotion) %>
+<% end %>
+<% content_for :page_actions do %>
+ <li>
+ <%= button_link_to t(:back_to_promotions_list), spree.admin_promotions_path, :icon => 'icon-arrow-left' %>
+ </li>
+<% end %>
+
<%= form_for :promotion, :url => collection_url do |f| %>
- <%= render :partial => 'form', :locals => { :f => f } %>
- <%= render :partial => 'spree/admin/shared/new_resource_links' %>
+ <fieldset class="no-border-top">
+ <%= render :partial => 'form', :locals => { :f => f } %>
+ <%= render :partial => 'spree/admin/shared/new_resource_links' %>
+ </fieldset>
<% end %>