Sha256: 8745a3a4c1fb8f33bcd46a58984cf2ec28c60a5ab2c1cc432b871bc15893dfcb
Contents?: true
Size: 727 Bytes
Versions: 2
Compression:
Stored size: 727 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 \"BrickHack\"" = 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. codeRIT & BrickHack info will be appended to the email body. .form-actions = f.button :submit
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hackathon_manager-0.2.0 | app/views/manage/messages/_form.html.haml |
hackathon_manager-0.1.0 | app/views/manage/messages/_form.html.haml |