Sha256: f3df39f233dbafecd777e2a5734a48a6d20de04c73625c235e19952f912c4476
Contents?: true
Size: 1.95 KB
Versions: 13
Compression:
Stored size: 1.95 KB
Contents
<div class="card-divider"> <h2 class="card-title"> <%= t("decidim.admin.menu.authorization_revocation.title") %> </h2> </div> <div class="card-section"> <% if model.count > 0 %> <div class="revoke_all_box"> <p><%= t("decidim.admin.menu.authorization_revocation.info", count: model.count ) %></p> <%= link_to t("decidim.admin.menu.authorization_revocation.button"), decidim_verifications.admin_verifications_destroy_all_path, method: :delete, class: "button button__sm md:button__lg button__secondary", data: { confirm: t("decidim.admin.menu.authorization_revocation.destroy.confirm_all") } %> </div> <br> <div class="revoke_before_date_box"> <%= decidim_form_for(@form, url: decidim_verifications.admin_verifications_destroy_before_date_path, html: { class: "form form-defaults" } ) do |form| %> <div class="form__wrapper"> <div class="card"> <div class="card-section"> <div class="row column"> <%= form.check_box :impersonated_only %> </div> <div class="row column"> <%= form.date_field :before_date, value: Time.zone.today.prev_month, autocomplete: "off" %> <%= label_tag(:before_date_info, t("decidim.admin.menu.authorization_revocation.before_date_info")) %> </div> <div class="form__wrapper-block flex-col-reverse md:flex-row justify-between"> <%= form.submit t("decidim.admin.menu.authorization_revocation.button_before"), data: { confirm: t("decidim.admin.menu.authorization_revocation.destroy.confirm") }, class: "button button__sm md:button__lg button__secondary" %> </div> </div> </div> </div> <% end %> </div> <% else %> <div class="revoke_no_data"> <%= t("decidim.admin.menu.authorization_revocation.no_data") %> </div> <% end %> </div>
Version data entries
13 entries across 13 versions & 1 rubygems