aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/help
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/help')
-rw-r--r--app/views/help/contact.rhtml20
1 files changed, 11 insertions, 9 deletions
diff --git a/app/views/help/contact.rhtml b/app/views/help/contact.rhtml
index 348628b6f..2d37d4c57 100644
--- a/app/views/help/contact.rhtml
+++ b/app/views/help/contact.rhtml
@@ -17,15 +17,17 @@
answer your question quicker.
</p>
- <p>
- <label class="form_label" for="contact_name">Your name:</label>
- <%= f.text_field :name, :size => 20 %>
- </p>
-
- <p>
- <label class="form_label" for="contact_email">Your email:</label>
- <%= f.text_field :email, :size => 20 %>
- </p>
+ <% if not @user %>
+ <p>
+ <label class="form_label" for="contact_name">Your name:</label>
+ <%= f.text_field :name, :size => 20 %>
+ </p>
+
+ <p>
+ <label class="form_label" for="contact_email">Your email:</label>
+ <%= f.text_field :email, :size => 20 %>
+ </p>
+ <% end %>
<p>
<label class="form_label" for="contact_subject">Subject:</label>