Sha256: 0137909ce2740ef6c2ac2a0a9d1b6da257b45c2e092742d24f85345636681eb4

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 KB

Contents

= f.fields_for :address_invoices do |address_invoice|
  .fieldset.invoice-address
    %a.small-icons.panel{ :href => '#' }
      = I18n.t('address.invoice', :count => 1)
    .option-panel-content
      .street-input
        %label= I18n.t(:designation).capitalize
        = address_invoice.text_field :designation
      .street-input
        %label= I18n.t(:civility, :count => 1).capitalize
        = address_invoice.select :civility, I18n.t('civility.select'), :prompt => I18n.t('please_select')
      .clear
      .street-input
        %label= I18n.t(:lastname).capitalize
        = address_invoice.text_field :lastname
      .street-input
        %label= I18n.t(:firstname).capitalize
        = address_invoice.text_field :firstname
      .street-input
        %label= I18n.t(:address, :count => 1).capitalize
        = address_invoice.text_field :address
      .street-input
        %label= I18n.t(:address, :count => 1).capitalize
        = address_invoice.text_field :address_2
      .zip-code-input
        %label= I18n.t(:zip_code).capitalize
        = address_invoice.text_field :zip_code
      .town-input
        %label= I18n.t(:city).capitalize
        = address_invoice.text_field :city
      .country-select
        %label= I18n.t(:country).capitalize
        = address_invoice.collection_select :country_id, Country.find(:all, :order => "name"), :id, :printable_name, :prompt => I18n.t('please_select')
      .clear

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 app/views/admin/users/_fields_for_addresses_invoices.html.haml
forgeos_commerce-1.9.0 app/views/admin/users/_fields_for_addresses_invoices.html.haml