journalduhacker/app/views/users/_invitationform.html.erb
joshua stein e6db99c956 disable autocomplete for text fields that shouldn't use it
new password on settings form and user invitation form (would be
another e-mail address, not the stored user's)

closes #85
2014-01-07 11:42:21 -06:00

29 lines
851 B
Plaintext

<p>
Invitations are unlimited, but persons you invite will be associated with your
account in the <a href="/u">user tree</a> and you may be responsible for them
if they cause problems. Please use your discretion when inviting persons you
don't personally know.
</p>
<%= form_tag "/invitations", :method => :post do |f| %>
<% if defined?(return_home) && return_home %>
<%= hidden_field_tag :return_home, 1 %>
<% end %>
<div class="boxline">
<%= label_tag :email, "E-mail Address:", :class => "required" %>
<%= text_field_tag :email, "", :size => 30, :autocomplete => "off" %>
</div>
<div class="boxline">
<%= label_tag :memo, "Memo to User:", :class => "required" %>
<%= text_field_tag :memo, "", :size => 60 %>
</div>
<div class="boxline">
<p></p>
<%= submit_tag "Send Invitation" %>
</div>
<% end %>