Sha256: fd4d2967334259d3f98e30a78c7dbd4b757e60db631689247e3f0eb3ff6e0168

Contents?: true

Size: 1.3 KB

Versions: 13

Compression:

Stored size: 1.3 KB

Contents

<% add_decidim_page_title(t("name", scope: "decidim.proposals.collaborative_drafts")) %>

<%= append_stylesheet_pack_tag "decidim_proposals", media: "all" %>
<%= append_javascript_pack_tag "decidim_proposals" %>

<% content_for :aside do %>

  <h1 id="drafts-count" class="title-decorator"><%= component_name %></h1>

  <% if current_settings.creation_enabled %>
    <%= action_authorized_link_to :create, new_collaborative_draft_path, class: "button button__sm button__transparent-secondary", data: { "redirect_url" => new_collaborative_draft_path } do %>
      <span><%= t("new_collaborative_draft", scope: "decidim.proposals.collaborative_drafts.new_collaborative_draft_button") %></span>
      <%= icon "add-line" %>
    <% end %>
  <% end %>

  <%= render layout: "decidim/shared/filters", locals: { filter_sections: collaborative_drafts_filter_sections, search_variable: :search_text_cont, skip_to_id: "collaborative_drafts" } do %>
    <%= hidden_field_tag :order, order, id: nil, class: "order_filter" %>
  <% end %>

<% end %>

<%= render layout: "layouts/decidim/shared/layout_two_col" do %>

  <%= render partial: "decidim/shared/component_announcement" %>

  <section id="collaborative_drafts" class="layout-main__section layout-main__heading">
    <%= render partial: "collaborative_drafts" %>
  </section>

<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-proposals-0.29.1 app/views/decidim/proposals/collaborative_drafts/index.html.erb
decidim-proposals-0.28.4 app/views/decidim/proposals/collaborative_drafts/index.html.erb
decidim-proposals-0.29.0 app/views/decidim/proposals/collaborative_drafts/index.html.erb
decidim-proposals-0.28.3 app/views/decidim/proposals/collaborative_drafts/index.html.erb
decidim-proposals-0.29.0.rc4 app/views/decidim/proposals/collaborative_drafts/index.html.erb
decidim-proposals-0.29.0.rc3 app/views/decidim/proposals/collaborative_drafts/index.html.erb
decidim-proposals-0.29.0.rc2 app/views/decidim/proposals/collaborative_drafts/index.html.erb
decidim-proposals-0.29.0.rc1 app/views/decidim/proposals/collaborative_drafts/index.html.erb
decidim-proposals-0.28.2 app/views/decidim/proposals/collaborative_drafts/index.html.erb
decidim-proposals-0.28.1 app/views/decidim/proposals/collaborative_drafts/index.html.erb
decidim-proposals-0.28.0 app/views/decidim/proposals/collaborative_drafts/index.html.erb
decidim-proposals-0.28.0.rc5 app/views/decidim/proposals/collaborative_drafts/index.html.erb
decidim-proposals-0.28.0.rc4 app/views/decidim/proposals/collaborative_drafts/index.html.erb