Sha256: eda6f0534c6f951dee39df0b94b318eebe5f6e1a89d1adf5cb1fcb88d4d8d429
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
<div class="fields"> <div class="field"> <%= label :nation, 'Nation' %> <%= f.select :nation, options_for_select(Area.all_nations, @address.area&.nation), { on: { wrapper_all: false, wrapper_input: false }, label: false }, { class: 'ui search selection dropdown' } %> </div> <div class="field"> <%= label :province, 'Province' %> <%= f.select :province, options_for_select([@address.area&.province], @address.area&.province), { on: { wrapper_all: false, wrapper_input: false }, label: false }, { class: 'ui search selection dropdown' } %> </div> <div class="field"> <%= label :city, 'City' %> <%= f.select :city, options_for_select([@address.area&.city], @address.area&.city), { on: { wrapper_all: false, wrapper_input: false }, label: false }, { class: 'ui search selection dropdown' } %> </div> </div> <%= f.hidden_field :area_id %> <%= f.hidden_field :user_id %> <%= f.select :kind, options_for_select(Address.options_i18n(:kind)) %> <%= f.select :proxy_shipment, options_for_select(Address.options_i18n(:proxy_shipment)) %> <%= f.text_field :contact_person %> <%= f.text_field :tel %> <%= f.text_field :address %> <%= f.text_field :postcode %> <%= f.submit data: { 'disable-with': 'saving' } %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_trade-0.0.1 | app/views/rails_trade_admin/addresses/_form.html.erb |