Sha256: 181a6a4d07a720ee4edc391adb1c1837b4d0befe5e5d3d55224d7f5db6010334
Contents?: true
Size: 802 Bytes
Versions: 19
Compression:
Stored size: 802 Bytes
Contents
<div class="card"> <div class="card-divider"> <h2 class="card-title"><%= t ".preview" %></h2> </div> <div class="card-section"> <dl> <dt><%= t ".subject" %></dt> <dd><%= @email.subject %></dd> </dl> <iframe src="<%= preview_newsletter_path(@newsletter) %>" class="email-preview"> </iframe> </div> </div> <div class="button--double form-general-submit"> <% if allowed_to?(:update, :newsletter, newsletter: @newsletter) && !@newsletter.sent? %> <%= link_to t("actions.edit", scope: "decidim.admin"), ["edit", @newsletter], class: "button" %> <% end %> <% unless @newsletter.sent? %> <%= link_to t(".deliver"), deliver_newsletter_path(@newsletter), method: :post, class: "button alert", data: { confirm: t(".confirm_deliver") } %> <% end %> </div>
Version data entries
19 entries across 19 versions & 1 rubygems