Sha256: fba258ba6031326125b264496abbebbac9da725647d1722fd419dbca80639375

Contents?: true

Size: 733 Bytes

Versions: 21

Compression:

Stored size: 733 Bytes

Contents

= simple_form_for @message, url: url_for(action: @message.new_record? ? "create" : "update", controller: "messages") do |f|
  = f.error_notification

  .form-inputs
    = f.input :name
    = f.input :subject, hint: "All emails are from <pre>#{html_escape(Rails.configuration.hackathon['email_from'])}</pre>".html_safe
    = f.input :template, as: :select, collection: Message::POSSIBLE_TEMPLATES.map { |x| [x.titleize, x] }, include_blank: false
    = f.input :recipients, as: :select, collection: Message::POSSIBLE_RECIPIENTS.invert, input_html: { class: "selectize", multiple: true }
    = f.input :body, input_html: { rows: 10 }
    %p
      %small
        %em Markdown and HTML supported.

  .form-actions
    = f.button :submit

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
hackathon_manager-0.5.11 app/views/manage/messages/_form.html.haml
hackathon_manager-0.5.10 app/views/manage/messages/_form.html.haml
hackathon_manager-0.5.9 app/views/manage/messages/_form.html.haml
hackathon_manager-0.5.8 app/views/manage/messages/_form.html.haml
hackathon_manager-0.5.7 app/views/manage/messages/_form.html.haml
hackathon_manager-0.5.6 app/views/manage/messages/_form.html.haml
hackathon_manager-0.5.5 app/views/manage/messages/_form.html.haml
hackathon_manager-0.5.4 app/views/manage/messages/_form.html.haml
hackathon_manager-0.5.3 app/views/manage/messages/_form.html.haml
hackathon_manager-0.5.2 app/views/manage/messages/_form.html.haml
hackathon_manager-0.5.1 app/views/manage/messages/_form.html.haml
hackathon_manager-0.5.0 app/views/manage/messages/_form.html.haml
hackathon_manager-0.4.4 app/views/manage/messages/_form.html.haml
hackathon_manager-0.4.3 app/views/manage/messages/_form.html.haml
hackathon_manager-0.4.2 app/views/manage/messages/_form.html.haml
hackathon_manager-0.4.1 app/views/manage/messages/_form.html.haml
hackathon_manager-0.4.0 app/views/manage/messages/_form.html.haml
hackathon_manager-0.3.3 app/views/manage/messages/_form.html.haml
hackathon_manager-0.3.2 app/views/manage/messages/_form.html.haml
hackathon_manager-0.3.1 app/views/manage/messages/_form.html.haml