app/views/shoppe/orders/edit.html.haml in shoppe-1.0.2 vs app/views/shoppe/orders/edit.html.haml in shoppe-1.0.3
- old
+ new
@@ -1,21 +1,21 @@
-- @page_title = 'Edit Order #' + @order.number
+- @page_title = "#{t('shoppe.orders.edit_order')} ##{@order.number}"
= content_for :header do
%p.buttons
- = link_to "Back to order", @order, :class => 'button grey'
- %h2.orders Edit OrderĀ <b>##{@order.number}</b>
+ = link_to t('shoppe.orders.back_to_order'), @order, :class => 'button grey'
+ %h2.orders "#{t('shoppe.orders.edit_order')} <b>##{@order.number}</b>"
= form_for @order, :html => {:class => 'orderForm'} do |f|
= f.error_messages
= render 'form', :f => f
-
- = field_set_tag "Notes" do
+
+ = field_set_tag t('shoppe.orders.notes') do
%dl
%dd= f.text_area :notes, :class => 'text'
- = field_set_tag "Ordered Products", :class => 'padded' do
+ = field_set_tag t('shoppe.orders.ordered_products'), :class => 'padded' do
= render 'order_items_form', :f => f
%p.submit
- = f.submit "Save Order", :class => 'button green'
- = link_to "Cancel", @order, :class => 'button'
\ No newline at end of file
+ = f.submit t('shoppe.orders.save_order') , :class => 'button green'
+ = link_to t('shoppe.cancel'), @order, :class => 'button'