Sha256: cc9a243b230a015450f3d027161079f376ffc95437ad5df50657240bd20c7e3d

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 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">
        <%= link_to translated_attribute(current_setting.title), decidim_admin_action_delegator.settings_path %> &gt;
        <%= link_to t("title", scope: "decidim.action_delegator.admin.participants.index"), decidim_admin_action_delegator.setting_participants_path(current_setting) %> &gt;
        <%= 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

1 entries across 1 versions & 1 rubygems

Version Path
decidim-action_delegator-0.8.1 app/views/decidim/action_delegator/admin/manage_participants/new.html.erb