Sha256: 1005e2d019e48a51e565869feb9c4b929f581ef7e96be5c9b1ee27cd9b36441d

Contents?: true

Size: 1.99 KB

Versions: 3

Compression:

Stored size: 1.99 KB

Contents

<div class="card">
  <div class="card-divider">
    <h2 class="card-title">
      <%= t('admin.index.title', scope: 'decidim.direct_verifications.verification') %>
      <%= link_to t("admin.index.stats", scope: 'decidim.direct_verifications.verification'), stats_path, class: "button tiny button--title" %>
    </h2>
  </div>
  <div class="card-section">
    <p><%= t('decidim.direct_verifications.verification.admin.new.info') %></p>
    <%= form_tag direct_verifications_path, multipart: true, class: 'form' do %>
      <%= label_tag :userlist, t('admin.new.textarea', scope: 'decidim.direct_verifications.verification') %>
      <%= text_area_tag :userlist, @userlist, rows: 10 %>
      <label>
        <%= check_box_tag :register %>
        <%= t('admin.new.register', scope: 'decidim.direct_verifications.verification') %>
        <div data-alert class="callout alert hide">
          <%= t('admin.direct_verifications.gdpr_disclaimer', scope: 'decidim.direct_verifications.verification') %>
        </div>
      </label>
      <label>
        <%= radio_button_tag :authorize, 'in' %>
        <%= t('admin.new.authorize', scope: 'decidim.direct_verifications.verification') %>
      </label>
      <label>
        <%= radio_button_tag :authorize, 'out' %>
        <%= t('admin.new.revoke', scope: 'decidim.direct_verifications.verification') %>
      </label>
      <label>
        <%= radio_button_tag :authorize, 'check', true %>
        <%= t('admin.new.check', scope: 'decidim.direct_verifications.verification') %>
      </label>

      <%= label_tag :authorization_handler, t('admin.new.authorization_handler', scope: 'decidim.direct_verifications.verification') %>

      <%= select_tag :authorization_handler, options_for_select(@workflows, @authorization_handler) %>

      <%= submit_tag t('admin.new.submit', scope: 'decidim.direct_verifications.verification'), class: 'button' %>

    <% end %>

  </div>
</div>

<%= javascript_include_tag "decidim/direct_verifications/verification/admin/direct_verifications_admin" %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-direct_verifications-0.20 app/views/decidim/direct_verifications/verification/admin/direct_verifications/index.html.erb
decidim-direct_verifications-0.17.8 app/views/decidim/direct_verifications/verification/admin/direct_verifications/index.html.erb
decidim-direct_verifications-0.17.7 app/views/decidim/direct_verifications/verification/admin/direct_verifications/index.html.erb