Sha256: b84a1afef6f7d841b7be53042fde22271b60ae2db8304ca41ffa8a27698881a4

Contents?: true

Size: 1 KB

Versions: 52

Compression:

Stored size: 1 KB

Contents

.email-templates--index.maxwidth

  %h5.flex-row.collapse-expand#emailTemplatesIndex
    = render '/wco_email/email_templates/header', templates: @templates

  -# = paginate @templates, :param_name => :templates_page, :views_prefix => 'wco'
  .email-templates-index.maxwidth
    %table.bordered.data-table
      %thead
        %tr
          %th  
          %th Slug
          %th Created
          %th Updated

      - @templates.each do |tmpl|
        %tr
          %td
            .flex-row
              = link_to '[use]', new_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 => 'wco'

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
wco_email-0.1.1.94 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.93 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.92 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.91 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.90 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.89 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.88 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.86 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.85 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.84 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.83 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.82 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.81 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.80 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.79 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.78 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.77 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.76 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.75 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.72 app/views/wco_email/email_templates/_index.haml