Sha256: 4d2583e6b068a634b52e1fafeef2df5e2d64b72887bd0d6b4c459d08d680457f

Contents?: true

Size: 980 Bytes

Versions: 37

Compression:

Stored size: 980 Bytes

Contents

.email-templates--index.maxwidth

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

  = 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

37 entries across 37 versions & 1 rubygems

Version Path
wco_email-0.1.1.37 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.36 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.35 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.34 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.33 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.32 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.31 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.30 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.29 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.28 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.27 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.26 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.25 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.24 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.23 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.22 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.21 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.20 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.19 app/views/wco_email/email_templates/_index.haml
wco_email-0.1.1.18 app/views/wco_email/email_templates/_index.haml