Sha256: 2d1452441e98ab4349a73485425f94930b9f4de9727e6019ea9e9170a984d668

Contents?: true

Size: 711 Bytes

Versions: 48

Compression:

Stored size: 711 Bytes

Contents

%h3.center.collapse-expand#emailTemplatesIndex
  Email Templates (#{Ish::EmailTemplate.all.count})

.email-templates-index.max-width
  %table.bordered
    %tr
      %th
      %th Slug
      %th Created
      %th Updated

    - @templates.each do |tmpl|
      %tr
        %td
          = link_to '[use]', new_email_context_path({ email_template_id: tmpl.id })
          = link_to '[~]', edit_email_template_path({ id: tmpl })
          = button_to '[x]', email_template_path({ id: tmpl }), method: :delete, :data => { :confirm => 'Are you sure?' }, form_class: 'inline'
        %td= link_to tmpl.slug, email_template_path({ id: tmpl })
        %td= pp_date tmpl.created_at
        %td= pp_date tmpl.updated_at

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
ish_manager-0.1.8.384 app/views/ish_manager/email_templates/_index.haml
ish_manager-0.1.8.383 app/views/ish_manager/email_templates/_index.haml
ish_manager-0.1.8.382 app/views/ish_manager/email_templates/_index.haml
ish_manager-0.1.8.381 app/views/ish_manager/email_templates/_index.haml
ish_manager-0.1.8.380 app/views/ish_manager/email_templates/_index.haml
ish_manager-0.1.8.379 app/views/ish_manager/email_templates/_index.haml
ish_manager-0.1.8.378 app/views/ish_manager/email_templates/_index.haml
ish_manager-0.1.8.377 app/views/ish_manager/email_templates/_index.haml