Skip to content

Commit

Permalink
Fixed census authorization form
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrlpz committed Jul 9, 2024
1 parent ad1670b commit b0d1305
Showing 1 changed file with 18 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
<div class="field">
<%= form.select :document_type, handler.census_document_types, prompt: true %>
</div>
<div class="form__wrapper">
<div class="field">
<%= form.select :document_type, handler.census_document_types, prompt: true %>
</div>

<div class="field">
<%= form.text_field :id_document %>
</div>
<div class="field">
<%= form.text_field :id_document %>
</div>

<div class="field date">
<%= form.date_select :birthdate, start_year: 1900,
end_year: Date.today.year,
default: 35.years.ago, prompt: {
day: t(".date_select.day"),
month: t(".date_select.month"),
year: t(".date_select.year")
} %>
</div>

<div class="field date">
<%= form.date_select :birthdate, start_year: 1900,
end_year: Date.today.year,
default: 35.years.ago, prompt: {
day: t(".date_select.day"),
month: t(".date_select.month"),
year: t(".date_select.year")
} %>
<%= form.hidden_field :handler_name %>
</div>

<%= form.hidden_field :handler_name %>

0 comments on commit b0d1305

Please sign in to comment.