Sha256: ef8b407293de1649a39de25dc797acf6d6f22dc3dc9d28cb92ee9ab9c91b9ee2
Contents?: true
Size: 819 Bytes
Versions: 1
Compression:
Stored size: 819 Bytes
Contents
<% if component_settings.attachments_allowed? %> <div class="card-section"> <div class="component__show_photos" data-component="accordion" id="accordion-photos"> <button class="card-divider-button" data-controls="panel-photos" type="button"> <%= icon "arrow-right-s-line" %> <h2 class="card-title"> <%= t(".title") %> </h2> </button> <div id="panel-photos"> <%= render partial: "decidim/reporting_proposals/admin/proposals/photo_gallery" %> <% if admin_allowed_to? :edit_photos, :proposals, extra_context = { proposal: proposal }, chain = [::Decidim::ReportingProposals::Admin::Permissions] %> <%= render partial: "decidim/reporting_proposals/admin/proposals/photo_form" %> <% end %> </div> </div> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
decidim-reporting_proposals-0.6.0 | app/views/decidim/reporting_proposals/admin/proposals/_photos.html.erb |