i18n of invitation form view (used by settings view)

This commit is contained in:
Carl Chenet 2016-07-09 14:32:34 +02:00
parent 04777f3e6f
commit 7af03b4ff4

View file

@ -1,8 +1,5 @@
<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.
<%= raw(t('.invitationtext')) %>
</p>
<%= form_tag "/invitations", :method => :post do |f| %>
@ -11,18 +8,18 @@ don't personally know.
<% end %>
<div class="boxline">
<%= label_tag :email, "E-mail Address:", :class => "required" %>
<%= label_tag :email, t('.emailaddress'), :class => "required" %>
<%= text_field_tag :email, "", :size => 30, :autocomplete => "off" %>
</div>
<div class="boxline">
<%= label_tag :memo, "Memo to User:", :class => "required" %>
<%= label_tag :memo, t('.memouser'), :class => "required" %>
<%= text_field_tag :memo, "", :size => 60 %>
</div>
<div class="boxline">
<p></p>
<%= submit_tag "Send Invitation" %>
<%= submit_tag t('.sendinvitation') %>
</div>
<% end %>