Sha256: bba751ccf6b04f42dd39788875871f9cbfbe403ee4ca92d5f6a528fad5718b8f

Contents?: true

Size: 562 Bytes

Versions: 9

Compression:

Stored size: 562 Bytes

Contents

<% if allowed_to?(:edit, :collaborative_draft, collaborative_draft: @collaborative_draft) %>
  <%= decidim_form_for(@accept_request_form, url: request_accept_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 %>
    <%= form.submit accept_request_button_label, class: "button hollow secondary small", data: { disable: true } %>
  <% 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/_accept_request_access_form.html.erb
decidim-proposals-0.16.0 app/views/decidim/proposals/collaborative_drafts/_accept_request_access_form.html.erb
decidim-proposals-0.15.2 app/views/decidim/proposals/collaborative_drafts/_accept_request_access_form.html.erb
decidim-proposals-0.15.1 app/views/decidim/proposals/collaborative_drafts/_accept_request_access_form.html.erb
decidim-proposals-0.15.0 app/views/decidim/proposals/collaborative_drafts/_accept_request_access_form.html.erb
decidim-proposals-0.14.4 app/views/decidim/proposals/collaborative_drafts/_accept_request_access_form.html.erb
decidim-proposals-0.14.3 app/views/decidim/proposals/collaborative_drafts/_accept_request_access_form.html.erb
decidim-proposals-0.14.2 app/views/decidim/proposals/collaborative_drafts/_accept_request_access_form.html.erb
decidim-proposals-0.14.1 app/views/decidim/proposals/collaborative_drafts/_accept_request_access_form.html.erb