mconf/mconf-web

View on GitHub
app/views/feedback/new.html.haml

Summary

Maintainability
Test Coverage
#feedback-form

  .modal-header
    = modal_close_button
    %h3= t('.title')

  = simple_form_for :feedback, :url => feedback_index_path, :html => { :class => "single-column" } do |f|
    .modal-body
      .note= t('.note')
      = f.input :subject, :autofocus => true, :required => true
      = f.input :message, :as => :text, :required => true

    .modal-footer
      = f.button :wrapped, t("_other.send"), :class => "btn btn-primary", :cancel_modal => true