Sha256: 72b93e512242e3b280810986616b9c0ac9d7870f746cfaa9a00e702a5a3a974d

Contents?: true

Size: 578 Bytes

Versions: 31

Compression:

Stored size: 578 Bytes

Contents

.row
  .col-12.col-sm-6= form.text_field(:firstname)
  .col-12.col-sm-6= form.text_field(:lastname)
  .col-12.col-sm-6= form.date_field(:birth_date, data: {'date-view-mode' => 'decades', 'date-min-date' => Date.new(1920, 1, 1).to_s, 'date-max-date' => Date.today.to_s, 'date-use-current' => false, 'date-view-date' => Date.new(1950, 1, 1).to_s })
  .col-12.col-sm-6= form.text_field(:birth_place)
  .col-12
    = form.fields_for(:residence, person.residence || EgovUtils::Address.new) do |fields|
      = render 'egov_utils/addresses/form', form: fields, address: fields.object

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
egov_utils-0.2.13 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.12 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.11 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.10 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.9 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.8 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.7 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.6 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.5 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.4 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.3 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.2 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.1 app/views/egov_utils/people/_form.html.haml
egov_utils-0.2.0 app/views/egov_utils/people/_form.html.haml
egov_utils-0.1.37 app/views/egov_utils/people/_form.html.haml
egov_utils-0.1.36 app/views/egov_utils/people/_form.html.haml
egov_utils-0.1.35 app/views/egov_utils/people/_form.html.haml
egov_utils-0.1.33 app/views/egov_utils/people/_form.html.haml
egov_utils-0.1.32 app/views/egov_utils/people/_form.html.haml
egov_utils-0.1.31 app/views/egov_utils/people/_form.html.haml