Sha256: 53cc9d6bf7999b9b15475a1b86161cfdd1dbdd4f3b5387ca2867381607db14ef

Contents?: true

Size: 567 Bytes

Versions: 1

Compression:

Stored size: 567 Bytes

Contents

- if @item.generic_mailer?
  %h2.border
    = tw("mailings.template")
    = link_to({action: "edit", id: @item, :edited_container => "template"}, :remote => true, :class => "link link-sm") do
      = icon(:pencil)
      = tw("commons.edit")
  .dl-horizontal
    %dt= tw("attributes.subject")
    %dd= @item.subject
  %br
  %pre= @item.template
  %br
- else
  %h2.border
    = tw("mailings.template")
  %p= tw("mailings.infos.non_generic_mailer", mailer: display_mailing_mailer(@item.mailer_name).html_safe, generic_mailer: display_mailing_mailer(:generic)).html_safe

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
maily_herald-webui-0.8.0 app/views/maily_herald/webui/mailings/_template.html.haml