Sha256: c5a93157fb549c5bd6603ea213765eb3d62876616e373a18b450ab6c17ead95b
Contents?: true
Size: 1.3 KB
Versions: 4
Compression:
Stored size: 1.3 KB
Contents
<% add_decidim_page_title(t(".title")) %> <div class="card"> <div class="item_show__header"> <h1 class="item_show__header-title"> <%= t ".title" %> <%= link_to t("actions.newsletter.new", scope: "decidim.admin"), [:newsletter_templates], class: "button button__sm button__secondary expanded small new" %> </h1> </div> <div class="card-section"> <div class="grid md:grid-cols-2 gap-x-8 p-4"> <% templates.each do |newsletter_template| %> <div class="card card--mini pb-12 md:pb-0" id="<%= newsletter_template.name %>"> <iframe src="<%= preview_newsletter_template_path(newsletter_template.name) %>" class="email-preview w-full h-[60dvh]"> </iframe> <div class="card-footer"> <h2 class="card-title flex items-center"> <%= t newsletter_template.public_name_key %> <div class="ml-auto"> <%= link_to(t(".preview_template"), newsletter_template_path(newsletter_template.name), class: "button button__sm button__secondary") %> <%= link_to(t(".use_template"), new_newsletter_template_newsletter_path(newsletter_template.name), class: "button button__sm button__secondary") %> </div> </h2> </div> </div> <% end %> </div> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems