Sha256: 57710156ebeff7b426fd90b8ad45fb088a109b45c39d8e619e461ad524242a50

Contents?: true

Size: 1.17 KB

Versions: 16

Compression:

Stored size: 1.17 KB

Contents

-# = ctx.inspect

.Context.email-contexts--form-reply.form-mini
  = form_for ctx do |f|

    .flex-row
      .flex-row
        %label From 
        = f.select :from_email, options_for_select( WcoEmail::EmailTemplate.from_emails_list, selected: ctx.from_email ), {}, class: 'select2'
        %label  To 
        = f.select :lead, options_for_select( @leads_list, selected: lead_id ), {}, class: 'select2', required: true
      .flex-row
        %label  Template 
        = f.select :email_template_id, options_for_select( @email_templates_list, selected: ctx.email_template_id ), {}, class: 'select2', required: true
        = link_to '[+]', new_email_template_path, target: :_blank
    .flex-row
      %label Subject 
      = f.text_field :subject, class: 'w-100' # , disabled: true
    .field
      = f.text_area :body, class: 'tinymce'
    .flex-row
      .flex-row
        %label Respond inline? 
        = check_box_tag :respond_inline, message.id, checked: true
      .flex-row
        %label  send_at 
        = f.text_field :send_at, placeholder: 'YYYY-MM-DD', value: Time.now, size: 30, class: 'input-date'
      = f.submit 'Send/Schedule'

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
wco_email-0.1.1.89 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.88 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.86 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.85 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.84 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.83 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.82 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.81 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.80 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.79 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.78 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.77 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.76 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.75 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.72 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.71 app/views/wco_email/contexts/_form_reply.haml