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.26.1 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.26.0 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-enhanced_textwork-1.0.5 app/views/decidim/enhanced_textwork/collaborative_drafts/_reject_request_access_form.html.erb
decidim-enhanced_textwork-1.0.4 app/views/decidim/enhanced_textwork/collaborative_drafts/_reject_request_access_form.html.erb
decidim-enhanced_textwork-1.0.3 app/views/decidim/enhanced_textwork/collaborative_drafts/_reject_request_access_form.html.erb
decidim-enhanced_textwork-1.0.2 app/views/decidim/enhanced_textwork/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.26.0.rc2 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-enhanced_textwork-1.0.1 app/views/decidim/enhanced_textwork/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.26.0.rc1 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-enhanced_textwork-1.0.0 app/views/decidim/enhanced_textwork/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.25.2 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.25.1 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.25.0 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.25.0.rc4 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.25.0.rc3 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.25.0.rc2 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.25.0.rc1 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.24.3 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.23.6 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb
decidim-proposals-0.24.2 app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb