- @title = t "devise.invitations.new.header" .container .row .center-panel .panel.panel-default.only .panel-heading %h3.panel-title = t "devise.invitations.new.header" .panel-body = form_for resource, as: resource_name, url: invitation_path(resource_name), layout: :horizontal, html: { method: :post } do |f| / = devise_error_messages! - resource.class.invite_key_fields.each do |field| = f.text_field field = f.submit "Invite User"