journalduhacker/app/views/invitations/build.html.erb
joshua stein c6191da912 InvitationRequest: require url (memo) for invitations
otherwise validating requests is kind of difficult
2013-12-02 10:44:36 -06:00

42 lines
1.1 KiB
Plaintext

<div class="box wide">
<div class="legend">
Request an Invitation
</div>
<p>
If you don't know (or can't find) an <a href="/u/">existing user</a> from
which to request an invitation, you can make a public request for one. This
will display your name and memo to all other logged-in users who can then
send you an invitation if they recognize you.
</p>
<p>
Your e-mail address must be valid and confirmed by visiting a URL e-mailed to
you before your request will be displayed. Your e-mail address will not be
shown to any other users.
</p>
<%= form_tag create_invitation_by_request_url do %>
<p>
<%= label_tag :name, "Name:" %>
<%= text_field_tag :name, "", :size => 30 %>
<br />
<%= label_tag :email, "E-mail Address:" %>
<%= text_field_tag :email, "", :size => 30 %>
<br />
<%= label_tag :memo, "URL:" %>
<%= text_field_tag :memo, "", :size => 30 %>
<br />
<label></label>
<span class="na">URL to verify you (Personal website, Github account,
etc.)</span>
</p>
<p>
<%= submit_tag "Request Invitation" %>
</p>
<% end %>
</div>