Sha256: 54ca3a4489d58f39733efbc51246d81c6fade9d3ad63c344dd78fc3dfb42eab3

Contents?: true

Size: 1.36 KB

Versions: 4

Compression:

Stored size: 1.36 KB

Contents

<% add_decidim_page_title(t(".title")) %>
<div class="item_show__header">
  <h1 class="item_show__header-title">
    <div>
      <%= link_to translated_attribute(election.title), elections_path %> &gt;
      <%= link_to translated_attribute(question.title), election_questions_path(election) %> &gt;
      <%= t(".title") %>
    </div>
  </h1>
</div>

<div class="item__edit item__edit-1col">
  <div class="item__edit-form">
    <%= decidim_form_for(@form, url: election_question_proposals_import_path, html: { class: "form form-defaults import_proposals" }) do |f| %>
      <% if @form.origin_components.any? %>
        <div class="form__wrapper">
          <div class="card pt-4">
            <div class="card-section">
              <div class="row column">
                <%= f.select :origin_component_id, @form.origin_components_collection, prompt: t(".select_component") %>
              </div>
              <div class="row column">
                <%= f.check_box :import_all_accepted_proposals %>
              </div>
            </div>
          </div>
        </div>

        <div class="item__edit-sticky">
          <div class="item__edit-sticky-container">
            <%= f.submit t(".create"), class: "button button__sm button__secondary" %>
          </div>
        </div>
      <% else %>
        <p><%= t(".no_components") %></p>
      <% end %>
    <% end %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-elections-0.28.4 app/views/decidim/elections/admin/proposals_imports/new.html.erb
decidim-elections-0.28.3 app/views/decidim/elections/admin/proposals_imports/new.html.erb
decidim-elections-0.28.2 app/views/decidim/elections/admin/proposals_imports/new.html.erb
decidim-elections-0.28.1 app/views/decidim/elections/admin/proposals_imports/new.html.erb