foodsoft/app/views/invites/_modal_form.html.haml

13 lines
403 B
Text
Raw Permalink Normal View History

2012-10-19 01:12:47 +02:00
= simple_form_for @invite, remote: true do |form|
.modal-header
= close_button :modal
2013-02-04 12:59:04 +01:00
%h3= t '.title'
2012-10-19 01:12:47 +02:00
.modal-body
2013-02-04 12:59:04 +01:00
= t('.body', group: @invite.group.name).html_safe
2012-10-19 01:12:47 +02:00
= form.hidden_field :user_id
= form.hidden_field :group_id
= form.input :email
.modal-footer
= link_to t('ui.close'), '#', class: 'btn', data: {dismiss: 'modal'}
2012-10-19 01:12:47 +02:00
= form.submit class: 'btn btn-primary'