app/views/orders/edit.html.erb in spree-0.5.1 vs app/views/orders/edit.html.erb in spree-0.6.0
- old
+ new
@@ -1,20 +1,22 @@
-<h1><%= t("Shopping Cart")%></h1>
-<% form_for(:order, :url => object_url, :html => { :method => :put}) do |f| %>
- <%= render :partial => 'form', :locals => {:f => f} %>
+<div id="order">
+ <h1><%= t("shopping_cart")%></h1>
+ <% form_for(:order, :url => object_url, :html => { :method => :put}) do |f| %>
+ <%= render :partial => 'form', :locals => {:f => f} %>
- <div id="subtotal">
- <h3><%= "#{t("Subtotal")}: #{order_price(@order)}" %></h3>
- <%= submit_tag t('Update') %>
- <%= link_to t("Checkout"), checkout_order_url(@order) %> <!-- todo: replace with cart image button -->
- </div>
+ <div id="subtotal">
+ <h3><%= "#{t("subtotal")}: #{order_price(@order)}" %></h3>
+ <%= submit_tag t('update') %>
+ <%= link_to t("checkout"), checkout_order_url(@order) %> <!-- todo: replace with cart image button -->
+ </div>
- <p><%=link_to t("Continue Shopping"), products_path %></p>
+ <p><%=link_to t("continue_shopping"), products_path %></p>
- <% unless @order.line_items.empty? %>
- <p id="clear_cart_link">
- <small>
- <%= link_to t("Empty Cart"), object_url, :method => :delete %>
- </small>
- </p>
- <% end %>
-<% end %>
+ <% unless @order.line_items.empty? %>
+ <p id="clear_cart_link">
+ <small>
+ <%= link_to t("empty_cart"), object_url, :method => :delete %>
+ </small>
+ </p>
+ <% end %>
+ <% end %>
+</div>
\ No newline at end of file