Sha256: 984228826f7367e49d7d58ed16b229f56c0b73b4f13f278605bd9cb1c3a8a1ed

Contents?: true

Size: 964 Bytes

Versions: 6

Compression:

Stored size: 964 Bytes

Contents

.row-fluid
  .span12
    = f.text_field :title, label: t(:'address.title')

.row-fluid
  .span3
    = f.select :country_id, options_from_collection_for_select(@countries, :id, :name) , { prompt: t(:'address.choose_country'), selected: f.object.country_id || country_preset }, id: "country_dropdown", label: t(:'address.country')
  .span3
    #state-dropdown
      = f.collection_select :state_id, state_load(f.object), :id, :name, { prompt: t(:'address.state.choose')} , disabled: disabled?(f.object), label: t(:'address.state')

  .span3
    = f.text_field :zipcode, label: t(:'address.zipcode')
  .span3
    button.span12.btn.btn-primary = t(:'address.search')

.row-fluid
  .span3
    = f.text_field :city, value: f.object.city ||  city_preset, label: t(:'address.city')
  .span3
    = f.text_field :address1, label: t(:'address.address1')
  .span3
    = f.text_field :address2, label: t(:'address.address2')

javascript:
  var state_preset = '#{state_preset}'

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
gaku_core-0.0.3 app/views/gaku/addresses/_form_fields.html.slim
gaku-0.0.3 core/app/views/gaku/addresses/_form_fields.html.slim
gaku-0.0.2 core/app/views/gaku/addresses/_form_fields.html.slim
gaku_core-0.0.2 app/views/gaku/addresses/_form_fields.html.slim
gaku-0.0.1 core/app/views/gaku/addresses/_form_fields.html.slim
gaku_core-0.0.1 app/views/gaku/addresses/_form_fields.html.slim