Sha256: dafda3493703dc127727a594d51929f18961d551eb6b2d83f3a7b8ef32ca3f1d

Contents?: true

Size: 1.83 KB

Versions: 3

Compression:

Stored size: 1.83 KB

Contents

= f.hidden_field :kind, id: kind, value: kind
.form-group
  = f.input :first_name, input_html: { class: 'form-control', id: "#{kind}_first_name" }, label: t('address.inputs_labels.first_name'),
  placeholder: t('address.inputs_placeholders.first_name'), label_html: { class: 'control-label input-label' }
.form-group
  = f.input :last_name, input_html: { class: 'form-control', id: "#{kind}_last_name" }, label: t('address.inputs_labels.last_name'),
  placeholder: t('address.inputs_placeholders.last_name'), label_html: { class: 'control-label input-label' }
.form-group
  = f.input :address, input_html: { class: 'form-control', id: "#{kind}_address" }, label: t('address.inputs_labels.address'),
  placeholder: t('address.inputs_placeholders.address'), label_html: { class: 'control-label input-label' }
.form-group
  = f.input :city, input_html: { class: 'form-control', id: "#{kind}_city" }, label: t('address.inputs_labels.city'),
  placeholder: t('address.inputs_placeholders.city'), label_html: { class: 'control-label input-label' }
.form-group
  = f.input :zip, input_html: { class: 'form-control', id: "#{kind}_zip" }, label: t('address.inputs_labels.zip'),
  placeholder: t('address.inputs_placeholders.zip'), label_html: { class: 'control-label input-label' }
.form-group
  = f.input :country, input_html: { class: 'form-control', id: "#{kind}_country" }, label: t('address.inputs_labels.country'),
    label_html: { class: 'control-label input-label' }, include_blank: t('address.inputs_placeholders.country')
.form-group.mb-55
  = f.input :phone, input_html: { class: 'form-control', id: "#{kind}_phone" }, label: t('address.inputs_labels.phone'),
  placeholder: t('address.inputs_placeholders.phone'), label_html: { class: 'control-label input-label' }, as: :tel
- if with_submit_btn
  .text-center.general-text-align
    = f.button :submit, class: 'btn'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shoppy_cartus-0.1.2 app/views/shoppy_cartus/partials/_address_form.html.haml
shoppy_cartus-0.1.1 app/views/shoppy_cartus/partials/_address_form.html.haml
shoppy_cartus-0.1.0 app/views/shoppy_cartus/partials/_address_form.html.haml