Sha256: 4c66eea8308f825d7fab9c1f7d2c267cc02e814288bb77e6d7a84ef6c2b429f8

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 KB

Contents

-# = ctx.inspect

.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 (lead)
        = f.select :lead, options_for_select( @leads_list, selected: lead_id ), {}, class: 'select2', required: true
      .flex-row
        = f.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'
    .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
        = f.label :send_at
        = f.text_field :send_at, required: true, placeholder: 'YYYY-MM-DD', value: Time.now.strftime('%Y-%m-%d'), size: 10, class: 'input-date'
      = f.submit 'Send/Schedule'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wco_email-0.1.1.51 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.50 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.49 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.48 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.47 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.46 app/views/wco_email/contexts/_form_reply.haml
wco_email-0.1.1.45 app/views/wco_email/contexts/_form_reply.haml