Sha256: d9364d06c2b30ec7eeba85a1e342a0239bf26f8b5e517c4a62410b910df5a9f7
Contents?: true
Size: 1.73 KB
Versions: 3
Compression:
Stored size: 1.73 KB
Contents
<% add_decidim_meta_tags({ image_url: current_initiative.type.attached_uploader(:banner_image).url, description: translated_attribute(current_initiative.description), title: translated_attribute(current_initiative.title), url: initiative_url(current_initiative.id) }) %> <% add_decidim_page_title(translated_attribute(current_initiative.title)) %> <% provide :meta_image_url, current_initiative.type.attached_uploader(:banner_image).url %> <%= render layout: "layouts/decidim/shared/layout_center" do %> <div class="text-center py-10"> <h2 class="title-decorator inline-block text-left"><%= translated_attribute(current_initiative.title) %></h2> </div> <%= cell "decidim/coauthorships", OpenStruct.new(identities: current_initiative.committee_members.excluding_author.approved.map(&:user).reject(&:deleted?).prepend(current_initiative.author) ) %> <div class="form__wrapper"> <span class="text-gray-2"><%= l current_initiative.published_at || current_initiative.created_at, format: :decidim_short %></span> <div class="editor-content"> <%= decidim_sanitize_editor translated_attribute(current_initiative.description) %> </div> <%= cell("decidim/announcement", t("decidim.initiatives.committee_requests.new.help_text"), callout_class: "secondary") %> <div class="form__wrapper-block"> <%= logged_link_to t("continue", scope: "decidim.initiatives.committee_requests.new"), spawn_initiative_committee_requests_path(current_initiative), class: "button button__sm md:button__lg button__secondary", data: current_user.blank? ? { dialog_open: "loginModal" } : {} %> </div> </div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems