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