Sha256: 137d47484bf8718e205493aab1d36571045e77a652e90586cc93a8d176d9ddf7

Contents?: true

Size: 1.08 KB

Versions: 7

Compression:

Stored size: 1.08 KB

Contents

<%= f.select :document_type,
             form.options_for_document_type_select,
             { include_blank: t(".select"), label: t(".document_type") },
             { multiple: false } %>

<%= f.text_field :document_number, label: t(".document_number"), placeholder: t(".document_number_placeholder") %>

<%= f.text_field :postal_code, label: t(".postal_code"), placeholder: t(".postal_code_placeholder") %>

<div class="space-y-2">
  <%= f.label t(".date_of_birth") %>

  <div class="flex gap-2">

    <%= f.text_field :day, placeholder: t(".day_placeholder"), label: t(".day"), "data-autojump" => true, "data-max-length" => 2, "data-jump-next" => "##{f.object_name}_month" %>
    <%= f.text_field :month, placeholder: t(".month_placeholder"), label: t(".month"), "data-autojump" => true, "data-max-length" => 2, "data-jump-prev" => "##{f.object_name}_day", "data-jump-next" => "##{f.object_name}_year" %>
    <%= f.text_field :year, placeholder: t(".year_placeholder"), label: t(".year"), "data-autojump" => true, "data-max-length" => 4, "data-jump-prev" => "##{f.object_name}_month" %>

  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/views/decidim/votings/votings/_check_fields.html.erb
decidim-elections-0.28.3 app/views/decidim/votings/votings/_check_fields.html.erb
decidim-elections-0.28.2 app/views/decidim/votings/votings/_check_fields.html.erb
decidim-elections-0.28.1 app/views/decidim/votings/votings/_check_fields.html.erb
decidim-elections-0.28.0 app/views/decidim/votings/votings/_check_fields.html.erb
decidim-elections-0.28.0.rc5 app/views/decidim/votings/votings/_check_fields.html.erb
decidim-elections-0.28.0.rc4 app/views/decidim/votings/votings/_check_fields.html.erb