45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-3 mb-4">
|
|
<%= render partial: 'settings/nav_sidebar', locals: { tab: :passports } %>
|
|
</div>
|
|
|
|
<div class="col-md-9">
|
|
<%= simple_form_for [:settings, @passport] do |f| %>
|
|
<%= f.error_notification %>
|
|
|
|
<%= f.input :last_name %>
|
|
<%= f.input :first_name %>
|
|
<%= f.input :middle_name %>
|
|
<%= f.input :sex, collection: Passport.sexes.keys.map(&:to_sym) %>
|
|
<%= f.input :date_of_birth, start_year: 1900, end_year: Time.zone.now.year %>
|
|
<%= f.input :place_of_birth %>
|
|
|
|
<%= f.input :series %>
|
|
<%= f.input :number %>
|
|
<%= f.input :issued_by %>
|
|
<%= f.input :unit_code %>
|
|
<%= f.input :date_of_issue %>
|
|
|
|
<%= f.input :zip_code %>
|
|
<%= f.input :town_type %>
|
|
<%= f.input :town_name %>
|
|
<%= f.input :settlement_type %>
|
|
<%= f.input :settlement_name %>
|
|
<%= f.input :district_type %>
|
|
<%= f.input :district_name %>
|
|
<%= f.input :street_type %>
|
|
<%= f.input :street_name %>
|
|
<%= f.input :residence_type %>
|
|
<%= f.input :residence_name %>
|
|
<%= f.input :building_type %>
|
|
<%= f.input :building_name %>
|
|
<%= f.input :apartment_type %>
|
|
<%= f.input :apartment_name %>
|
|
|
|
<%= f.button :submit %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|