Sha256: cd0a6c4ff61ea3ec17cce3d60add5f99858f0c28f5d861e8dd9744c2f906d6ad

Contents?: true

Size: 997 Bytes

Versions: 2

Compression:

Stored size: 997 Bytes

Contents

- civilities = Civility.all
- countries = Country.all
%p
  %b
    = f.label :name, I18n.t('lastname').capitalize
    \:
  = f.text_field :name
%p
  %b
    = f.label :firstname, I18n.t('firstname').capitalize
    \:
  = f.text_field :firstname
%p
  %b
    = f.label :civility, I18n.t(:civility, :count => 1).capitalize
    \:
  = f.select :civility, civilities, { :prompt => I18n.t('please_select').capitalize }
%p
  %b
    = f.label :address, I18n.t('address', :count=>1).capitalize
    \:
  = f.text_field :address
%p
  %b
    = f.label :address_2, I18n.t('address', :count=>1).capitalize
    \:
  = f.text_field :address_2
%p
  %b
    = f.label :zip_code, I18n.t('zip_code').capitalize
    \:
  = f.text_field :zip_code
%p
  %b
    = f.label :city, I18n.t('city').capitalize
    \:
  = f.text_field :city
%p
  %b
    = f.label :country_id, I18n.t('country').capitalize
    \:
  = f.collection_select :country_id, countries, :id, :printable_name,{ :prompt => I18n.t('please_select').capitalize }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 app/views/admin/addresses/_form.html.haml
forgeos_commerce-1.9.0 app/views/admin/addresses/_form.html.haml