Sha256: 362848283194677981486e1ad65fa9e90fee59628776f6cecfa5808553d8d277

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

<%= form_tag(setting_manage_participants_path, multipart: true, class: "form new_import") do %>
  <%= hidden_field_tag :setting_id, current_setting.id %>
  <div class="card">
    <div class="card-divider">
      <h2 class="card-title">
        <%= t(".title") %>
      </h2>
    </div>
  </div>
  <p><%= t(".upload_instructions") %></p>
  <p><%= t(".required_fields", authorization_method: t(".authorization_method.#{current_setting.authorization_method}")) %></p>
  <p><%= t(".title_example") %></p>
  <pre class="code-block">
    email,phone,weight
    foo@example.org,6660000,1.5
    bar@example.org,6660001,1
    baz@example.org,6660002,2
    ...</pre>
  <p><%= t(".describe") %></p>
  <pre class="code-block">
    email,phone,weight
    foo@example.org,6660000,producer
    bar@example.org,6660001,consumer
    baz@example.org,6660002,associate
    ...</pre>
  <div class="row column">
    <%= file_field_tag :csv_file %>
  </div>

  <div class="button--double form-general-submit">
    <%= submit_tag t(".import"), class: "button" %>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-action_delegator-0.7.2 app/views/decidim/action_delegator/admin/manage_participants/new.html.erb
decidim-action_delegator-0.7.1 app/views/decidim/action_delegator/admin/manage_participants/new.html.erb
decidim-action_delegator-0.7.0 app/views/decidim/action_delegator/admin/manage_participants/new.html.erb