Sha256: 7078f10cc9f33cfc931e3b6bc46744cf5f206e96e788b4ab4cf2092c46e57b9b

Contents?: true

Size: 617 Bytes

Versions: 9

Compression:

Stored size: 617 Bytes

Contents

<% if allowed_to?(:edit, :collaborative_draft, collaborative_draft: @collaborative_draft) %>
  <%= decidim_form_for(@reject_request_form, url: request_reject_collaborative_draft_path(@collaborative_draft)) do |form| %>
    <%= form.hidden_field :id, value: @collaborative_draft.id %>
    <%= form.hidden_field :state, value: @collaborative_draft.state %>
    <%= form.hidden_field :requester_user_id, value: requester.id %>
    <%= button_tag type: "submit", data: { disable: true }, title: reject_request_button_label do %>
      <%= icon "x", class: "icon--small muted ml-xs" %>
    <% end %>
  <% end %>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-proposals-0.16.1 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.16.0 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.15.2 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.15.1 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.15.0 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.14.4 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.14.3 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.14.2 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.14.1 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb