Sha256: 4d5d885dbf100ed53ca894e4873e006d72f65f86c2afdf28660bba92a40af28f

Contents?: true

Size: 777 Bytes

Versions: 10

Compression:

Stored size: 777 Bytes

Contents

.email-contexts--form
  %h2
    New Email Context
    -# with template `#{email_ctx.email_template&.slug}`

  - url = %w| index new create |.include?( params[:action] ) ? email_contexts_path : email_context_path(email_ctx)
  = form_for email_ctx, url: url do |f|
    .field
      = f.label :email_template_id
      = f.select :email_template_id, options_for_select(@email_templates_list, selected: params[:email_template_id] || email_ctx.email_template&.id )

    .field
      = f.label :to_email
      = f.text_field :to_email
    .field
      = f.label :subject
      = f.text_field :subject
    .field
      = f.label :body
      = f.text_area :body, class: 'tinymce'
    .actions
      .left
        = f.submit 'Preview'
      .right
        -# = f.submit 'Schedule/Send'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ish_manager-0.1.8.327 app/views/ish_manager/email_contexts/_form.haml
ish_manager-0.1.8.326 app/views/ish_manager/email_contexts/_form.haml
ish_manager-0.1.8.325 app/views/ish_manager/email_contexts/_form.haml
ish_manager-0.1.8.324 app/views/ish_manager/email_contexts/_form.haml
ish_manager-0.1.8.323 app/views/ish_manager/email_contexts/_form.haml
ish_manager-0.1.8.322 app/views/ish_manager/email_contexts/_form.haml
ish_manager-0.1.8.321 app/views/ish_manager/email_contexts/_form.haml
ish_manager-0.1.8.320 app/views/ish_manager/email_contexts/_form.haml
ish_manager-0.1.8.318 app/views/ish_manager/email_contexts/_form.haml
ish_manager-0.1.8.317 app/views/ish_manager/email_contexts/_form.haml