1
0
Fork 0
This commit is contained in:
Alex Kotov 2018-11-30 11:22:07 +05:00
parent a0f1875447
commit 3e943c5fbc
No known key found for this signature in database
GPG key ID: 4E831250F47DE154

View file

@ -10,80 +10,80 @@
<div class="row"> <div class="row">
<div class="col-md-6"> <div class="col-md-6">
<dl class="row"> <dl class="row">
<dt class="col-lg-3"> <dt class="col-lg-4">
<%= Passport.human_attribute_name :surname %> <%= Passport.human_attribute_name :surname %>
</dt> </dt>
<dd class="col-lg-9"> <dd class="col-lg-8">
<%= @passport.surname %> <%= @passport.surname %>
</dd> </dd>
<dt class="col-lg-3"> <dt class="col-lg-4">
<%= Passport.human_attribute_name :given_name %> <%= Passport.human_attribute_name :given_name %>
</dt> </dt>
<dd class="col-lg-9"> <dd class="col-lg-8">
<%= @passport.given_name %> <%= @passport.given_name %>
</dd> </dd>
<dt class="col-lg-3"> <dt class="col-lg-4">
<%= Passport.human_attribute_name :patronymic %> <%= Passport.human_attribute_name :patronymic %>
</dt> </dt>
<dd class="col-lg-9"> <dd class="col-lg-8">
<%= @passport.patronymic %> <%= @passport.patronymic %>
</dd> </dd>
<dt class="col-lg-3"> <dt class="col-lg-4">
<%= Passport.human_attribute_name :sex %> <%= Passport.human_attribute_name :sex %>
</dt> </dt>
<dd class="col-lg-9"> <dd class="col-lg-8">
<%= Passport.human_attribute_name "sex.#{@passport.sex}" %> <%= Passport.human_attribute_name "sex.#{@passport.sex}" %>
</dd> </dd>
<dt class="col-lg-3"> <dt class="col-lg-4">
<%= Passport.human_attribute_name :date_of_birth %> <%= Passport.human_attribute_name :date_of_birth %>
</dt> </dt>
<dd class="col-lg-9"> <dd class="col-lg-8">
<%= localize @passport.date_of_birth %> <%= localize @passport.date_of_birth %>
</dd> </dd>
<dt class="col-lg-3"> <dt class="col-lg-4">
<%= Passport.human_attribute_name :place_of_birth %> <%= Passport.human_attribute_name :place_of_birth %>
</dt> </dt>
<dd class="col-lg-9"> <dd class="col-lg-8">
<%= @passport.place_of_birth %> <%= @passport.place_of_birth %>
</dd> </dd>
<dt class="col-lg-3"> <dt class="col-lg-4">
<%= Passport.human_attribute_name :series %> <%= Passport.human_attribute_name :series %>
</dt> </dt>
<dd class="col-lg-9"> <dd class="col-lg-8">
<%= passport_series @passport.series %> <%= passport_series @passport.series %>
</dd> </dd>
<dt class="col-lg-3"> <dt class="col-lg-4">
<%= Passport.human_attribute_name :number %> <%= Passport.human_attribute_name :number %>
</dt> </dt>
<dd class="col-lg-9"> <dd class="col-lg-8">
<%= passport_number @passport.number %> <%= passport_number @passport.number %>
</dd> </dd>
<dt class="col-lg-3"> <dt class="col-lg-4">
<%= Passport.human_attribute_name :issued_by %> <%= Passport.human_attribute_name :issued_by %>
</dt> </dt>
<dd class="col-lg-9"> <dd class="col-lg-8">
<%= @passport.issued_by %> <%= @passport.issued_by %>
</dd> </dd>
<dt class="col-lg-3"> <dt class="col-lg-4">
<%= Passport.human_attribute_name :unit_code %> <%= Passport.human_attribute_name :unit_code %>
</dt> </dt>
<dd class="col-lg-9"> <dd class="col-lg-8">
<%= @passport.unit_code %> <%= @passport.unit_code %>
</dd> </dd>
<dt class="col-lg-3"> <dt class="col-lg-4">
<%= Passport.human_attribute_name :date_of_issue %> <%= Passport.human_attribute_name :date_of_issue %>
</dt> </dt>
<dd class="col-lg-9"> <dd class="col-lg-8">
<%= localize @passport.date_of_issue %> <%= localize @passport.date_of_issue %>
</dd> </dd>
</dl> </dl>