Sha256: c10d1e8f52fb26b2a3a73fd2b0a0f5013f7bd36a657557da9ac16aa3006bfd80

Contents?: true

Size: 951 Bytes

Versions: 6

Compression:

Stored size: 951 Bytes

Contents

<% if @collaborative_draft.requesters.presence && allowed_to?(:react_to_request_access, :collaborative_draft, collaborative_draft: @collaborative_draft) %>
  <div class="card extra">
    <div class="definition-data__item">
      <span class="definition-data__title">
        <%= t("title", scope: "decidim.enhanced_textwork.collaborative_drafts.requests.collaboration_requests") %>
      </span>
    </div>
    <% @collaborative_draft.requesters.each do |requester| %>
      <div class="definition-data__item expanded" id="request_<%= requester.id %>">
        <%= cell "decidim/author", present(requester), options: { extra_classes: ["author-data--small"] }, has_actions: false %>

        <div>
          <%= render partial: "accept_request_access_form", locals: { requester: requester } %>

          <%= render partial: "reject_request_access_form", locals: { requester: requester } %>
        </div>
      </div>
    <% end %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-enhanced_textwork-1.0.5 app/views/decidim/enhanced_textwork/collaborative_drafts/_collaborator_requests.html.erb
decidim-enhanced_textwork-1.0.4 app/views/decidim/enhanced_textwork/collaborative_drafts/_collaborator_requests.html.erb
decidim-enhanced_textwork-1.0.3 app/views/decidim/enhanced_textwork/collaborative_drafts/_collaborator_requests.html.erb
decidim-enhanced_textwork-1.0.2 app/views/decidim/enhanced_textwork/collaborative_drafts/_collaborator_requests.html.erb
decidim-enhanced_textwork-1.0.1 app/views/decidim/enhanced_textwork/collaborative_drafts/_collaborator_requests.html.erb
decidim-enhanced_textwork-1.0.0 app/views/decidim/enhanced_textwork/collaborative_drafts/_collaborator_requests.html.erb