Sha256: 010e989af8b68dc01920e929565bc35b14208536a3fbaabb32b12135bc7f6f9e

Contents?: true

Size: 1.04 KB

Versions: 6

Compression:

Stored size: 1.04 KB

Contents

<%= cell("decidim/announcement", t("decidim.initiatives.initiative_signatures.fill_personal_data.help"), callout_class: "secondary") %>

<%= decidim_form_for(@form, url: fill_personal_data_initiative_signatures_path, method: :put) do |f| %>
  <%= form_required_explanation %>
  <div>
    <div class="form__wrapper">
      <%= f.text_field :name_and_surname, autofocus: true, required: true %>
    </div>

    <div class="form__wrapper">
      <%= f.text_field :document_number, required: true %>
    </div>

    <div class="form__wrapper">
      <%= f.date_field :date_of_birth, min: 120.years.ago.to_date, max: 16.years.ago.to_date, value: 35.years.ago.to_date %>
    </div>

    <div class="form__wrapper">
      <%= f.text_field :postal_code, required: true %>
    </div>

    <div>
      <small>
        <%= strip_tags(translated_attribute(extra_data_legal_information)) %>
      </small>
    </div>
  </div>

  <div class="form__wrapper-block">
    <%= f.submit t(".continue"), class: "button button__sm md:button__lg button__secondary" %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-initiatives-0.29.1 app/views/decidim/initiatives/initiative_signatures/fill_personal_data.html.erb
decidim-initiatives-0.29.0 app/views/decidim/initiatives/initiative_signatures/fill_personal_data.html.erb
decidim-initiatives-0.29.0.rc4 app/views/decidim/initiatives/initiative_signatures/fill_personal_data.html.erb
decidim-initiatives-0.29.0.rc3 app/views/decidim/initiatives/initiative_signatures/fill_personal_data.html.erb
decidim-initiatives-0.29.0.rc2 app/views/decidim/initiatives/initiative_signatures/fill_personal_data.html.erb
decidim-initiatives-0.29.0.rc1 app/views/decidim/initiatives/initiative_signatures/fill_personal_data.html.erb