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

13 lines
464 B
Text
Raw Normal View History

2012-10-19 01:12:47 +02:00
= simple_form_for @invite, remote: true do |form|
.modal-header
2013-04-10 17:34:24 +02:00
= button_tag t('ui.marks.close').html_safe, class: 'close', data: {dismiss: '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
2013-02-04 12:59:04 +01:00
= button_tag t('ui.close'), class: 'btn', data: {dismiss: 'modal'}
2012-10-19 01:12:47 +02:00
= form.submit class: 'btn btn-primary'