Sha256: 12b0384d30aa69f2a73c8888f14415afb1c18c96e31b0d5f5bfd0fd4e9129f98

Contents?: true

Size: 1.36 KB

Versions: 77

Compression:

Stored size: 1.36 KB

Contents

.email-action-templates--form

  = form_for tmpl, as: :tmpl, :html => { :multipart => true } do |f|
    .a
      = f.submit :submit

    .row
      .col-md-6
        .field
          %label Slug
          = f.text_field :slug
        -# .field
        -#   %label from_email
        -#   = f.select :from_email, options_for_select( WcoEmail::EmailTemplate::FROM_EMAILS_2, selected: tmpl.from_email ), {}, { class: 'select2' }
        .field
          %label Template
          = f.select :email_template_id, options_for_select( @email_templates_list, selected: tmpl.email_template_id ), {}, class: 'select2'

      .col-md-6
        .field
          %label Next Email Actions
          .eg rand(1..5).business_days.from_now.to_date + rand(8..16).hours + rand(1..59).minutes
          .eg This is not an interval! But you can do Time.now + 30.seconds
          %br

          = f.fields_for :ties do |next_f|
            .flex-row.field
              %label next_at_exe
              = next_f.text_field :next_at_exe, class: 'flex-grow-1 w-100'
            .flex-row.field
              = next_f.label :to_delete
              = next_f.check_box :to_delete
              = next_f.select :next_tmpl_id, options_for_select( @email_action_templates_list, selected: next_f.object.next_tmpl_id ), { }, { class: 'select2' }
            %br

    .row
      .col-sm-6
        = f.submit :submit


Version data entries

77 entries across 77 versions & 1 rubygems

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