app/views/admin/shared/_form_address.html.erb in spree-0.8.5 vs app/views/admin/shared/_form_address.html.erb in spree-0.9.0

- old
+ new

@@ -1,8 +1,8 @@ <% f.fields_for :address do |address_form| %> <div class="yui-g"> - <label>Name</label> + <label><%= t(:full_name) %></label> <div class="yui-u sub-field first"> <%= address_form.text_field :firstname, :class => 'fullwidth' %> <br/> <label for="<%= t("first_name") %>"><%= t("first_name") %></label> </div> @@ -45,6 +45,12 @@ </div> <p> <%= address_form.label :phone, t("phone") %><br /> <%= address_form.text_field :phone %> </p> -<% end %> \ No newline at end of file + <% if Spree::Config[:alternative_billing_phone] or Spree::Config[:alternative_billing_phone] %> + <p> + <%= address_form.label :alternative_phone, t("alternative_phone") %><br /> + <%= address_form.text_field :alternative_phone %> + </p> + <% end %> +<% end %>