Sha256: 00ffa4855ff76aade617f482f333f9d888b2e15810e304199997d913068ec59c

Contents?: true

Size: 957 Bytes

Versions: 44

Compression:

Stored size: 957 Bytes

Contents

.email-templates--index.max-width

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

  = paginate @templates, :param_name => :templates_page, :views_prefix => 'ish_manager'
  .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
  = paginate @templates, :param_name => :templates_page, :views_prefix => 'ish_manager'

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
ish_manager-0.1.8.429 app/views/ish_manager/email_templates/_index.haml
ish_manager-0.1.8.428 app/views/ish_manager/email_templates/_index.haml
ish_manager-0.1.8.427 app/views/ish_manager/email_templates/_index.haml
ish_manager-0.1.8.426 app/views/ish_manager/email_templates/_index.haml