%= decidim_form_for(@form,
url: sign_polling_officer_election_closure_path(polling_officer, election),
html: { class: "form sign_closure" }) do |form| %>
<%= form.check_box :signed, label: t("check_box", scope: "decidim.votings.polling_officer_zone.closures.sign") %>
<%= form.submit "", class: "hide" %>
<%= content_tag :button,
t("submit", scope: "decidim.votings.polling_officer_zone.closures.sign"),
type: "button",
id: "btn-modal-closure-sign",
class: "button button--sc mt-sm mb-none",
data: { open: "modal-closure-sign" },
aria: {
controls: "modal-closure-sign",
haspopup: "dialog"
},
disabled: true,
tabindex: "0" %>
<%= content_tag :p,
t("info_text", scope: "decidim.votings.polling_officer_zone.closures.sign") %>
<% end %>
<% content_for :js_content do %>
<%= javascript_pack_tag "decidim_votings_voting_polling_officer_zone_sign_closure" %>
<% end %>