Sha256: d13655b621688a17f878479837cca282dc62a335983d44e6f9fc32a6dfaa75a7

Contents?: true

Size: 690 Bytes

Versions: 52

Compression:

Stored size: 690 Bytes

Contents

<% if allowed_to?(:react_to_request_access, :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", aria_label: reject_request_button_label, role: "img" %>
    <% end %>
  <% end %>
<% end %>

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
decidim-proposals-0.27.9 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.27.8 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.27.7 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.27.6 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.26.10 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.26.9 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.27.5 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.26.8 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.27.4 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.27.3 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.26.7 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.26.5 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.27.2 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.27.1 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.26.4 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.27.0 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.26.3 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.27.0.rc2 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.27.0.rc1 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.26.2 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb