app/views/admin/coupons/edit.html.erb in muck-commerce-0.2.8 vs app/views/admin/coupons/edit.html.erb in muck-commerce-3.0.1
- old
+ new
@@ -1,5 +1,4 @@
-.main
- - tenplate_form_for @coupon, :url => admin_coupon_path(@coupon) do |f|
- = render :partial => 'form', :object => f
- = submit_tag "Save"
- = link_to "<< Back", admin_coupons_path
+<%= muck_form_for(@coupon, :url => admin_coupon_path(@coupon)) do |f| -%>
+ <%= render :partial => 'form', :object => f %>
+ <%= submit_tag "Save" %>
+<% end -%>
\ No newline at end of file