mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-05 23:17:33 +08:00
13 lines
416 B
Text
13 lines
416 B
Text
|
<h2><%= t "devise.invitations.new.header" %></h2>
|
||
|
|
||
|
<%= form_for resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :post} do |f| %>
|
||
|
<%= devise_error_messages! %>
|
||
|
|
||
|
<% resource.class.invite_key_fields.each do |field| -%>
|
||
|
<p><%= f.label field %><br />
|
||
|
<%= f.text_field field %></p>
|
||
|
<% end -%>
|
||
|
|
||
|
<p><%= f.submit t("devise.invitations.new.submit_button") %></p>
|
||
|
<% end %>
|