Sha256: 57c0b696e03fc2057308890083ea150f0b5f3229e3d04824f6f899c1ee0042e3
Contents?: true
Size: 960 Bytes
Versions: 25
Compression:
Stored size: 960 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> <dt><%= t("models.newsletter.fields.sent_to", scope: "decidim.admin") %></dt> <dd><%= selective_newsletter_to newsletter %></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) %> <% if !@newsletter.sent? %> <%= link_to t("actions.edit", scope: "decidim.admin"), [:edit, @newsletter], class: "button" %> <% end %> <% unless @newsletter.sent? %> <%= link_to t(".select_recipients_to_deliver"), select_recipients_to_deliver_newsletter_path(@newsletter), class: "button alert" %> <% end %> <% end %> </div>
Version data entries
25 entries across 25 versions & 1 rubygems