diff options
author | francis <francis> | 2008-03-12 23:35:56 +0000 |
---|---|---|
committer | francis <francis> | 2008-03-12 23:35:56 +0000 |
commit | 1eaf63df7b789d1ba73338582b4718a7cc6070e7 (patch) | |
tree | b628488570b88e60e5483453c6a328ea65616d16 | |
parent | e77532307c57663f309d31e2871f3c8af6e3ac18 (diff) |
Call hidden_field_tag correctly.
Give option of signin link on contact page if not signed in.
-rw-r--r-- | app/views/help/contact.rhtml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/help/contact.rhtml b/app/views/help/contact.rhtml index 84addd88f..1ec6184c2 100644 --- a/app/views/help/contact.rhtml +++ b/app/views/help/contact.rhtml @@ -27,6 +27,7 @@ <p> <label class="form_label" for="contact_name">Your name:</label> <%= f.text_field :name, :size => 20 %> + (or <%= link_to "sign in", signin_url(:r => request.request_uri) %>) </p> <p> @@ -46,7 +47,7 @@ </p> <div class="form_button"> - <%= hidden_field_tag(:submitted_contact_form, { :value => 1 } ) %> + <%= hidden_field_tag(:submitted_contact_form, 1) %> <%= submit_tag "Send message" %> </div> |