Sha256: 666646a424eae790ec9239c20fc695f357ff915790bec319c6afe2cc83f3d73e
Contents?: true
Size: 1.93 KB
Versions: 7
Compression:
Stored size: 1.93 KB
Contents
<% if request.post? && in_person_form.valid? %> <%= cell("decidim/announcement", { title: t(".census_not_present"), body: t(".census_not_present_description") }, callout_class: "alert") %> <% end %> <p class="text-gray-2 mb-4"><%= t(".title") %></p> <%= decidim_form_for(in_person_form, url: polling_officer_election_in_person_votes_path(polling_officer, election), html: { class: "form", autocomplete: "off" }) do |f| %> <%= form_required_explanation %> <div class="form__wrapper"> <%= f.select :document_type, in_person_form.options_for_document_type_select, { include_blank: t(".select") }, { multiple: false } %> <%= f.text_field :document_number, label: t(".document_number"), placeholder: t(".document_number_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" => "#in_person_month" %> <%= f.text_field :month, placeholder: t(".month_placeholder"), label: t(".month"), "data-autojump" => true, "data-max-length" => 2, "data-jump-prev" => "#in_person_day", "data-jump-next" => "#in_person_year" %> <%= f.text_field :year, placeholder: t(".year_placeholder"), label: t(".year"), "data-autojump" => true, "data-max-length" => 4, "data-jump-prev" => "#in_person_month" %> </div> </div> </div> <div class="form__wrapper-block flex-col-reverse md:flex-row justify-between"> <%= link_to polling_officers_path, class: "button button__sm md:button__lg button__text-secondary" do %> <%= icon "arrow-left-line" %> <span><%= t("back", scope: "decidim.votings.polling_officer_zone.in_person_votes.new") %></span> <% end %> <%= f.submit t(".validate_document"), class: "button button__sm md:button__lg button__secondary" %> </div> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems