Sha256: e757c6cc537f51187a84dd334d8eae8e0897ed903af4a31be599d87523c75bd0

Contents?: true

Size: 1.04 KB

Versions: 52

Compression:

Stored size: 1.04 KB

Contents

.email-action-templates-index.maxwidth
  .header
    %h5.title
      = render 'header', tmpls: @tmpls

  %table.bordered
    %tr
      %th= check_box_tag 'hmm'
      %th  
      %th Slug
      -# %th From
      %th Tmpl
      %th next actions
    - @tmpls.each_with_index do |tmpl, idx|
      %tr
        %td
          .gray= idx+1
          = check_box_tag 'hmm'
        %td
          .flex-row
            = link_to '[~]', edit_email_action_template_path( tmpl )
            = button_to '[x]', email_action_template_path( tmpl ), data: { confirm: 'Are you sure?' }, method: :delete

        %td
          = tmpl.slug
        -# %td= tmpl.from_email
        %td.tmpl
          = render '/wco_email/email_templates/show_cell', tmpl: tmpl.email_template

        %td
          - if tmpl.ties.blank?
            No ties
          %ul
            - tmpl.ties.map do |tie|
              %li
                .a= tie.next_at_exe
                .a
                  - if tie.next_tmpl.slug == tmpl.slug
                    (same)
                  = tie.next_tmpl.slug

Version data entries

52 entries across 52 versions & 1 rubygems

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