app/views/events/invite.html.haml
#event-invitation
.modal-header
= modal_close_button
%h3= t('.title')
= simple_form_for :invite, :url => send_invitation_event_path(@event), :html => { :class => 'single-column' } do |f|
.modal-body
= f.input :users, :as => :string, :autofocus => true, :label => t('activerecord.attributes.invite.users')
= f.input :title, :placeholder => t('.invite_title', :event => @event.name), :as => :string, :label => t('activerecord.attributes.invite.title')
= f.input :message, :as => :text, :label => t('activerecord.attributes.invite.message'), :required => false
.modal-footer
= f.button :wrapped, t('_other.send'), :class => "btn btn-primary", :cancel_modal => true