Displaying 1 result from an estimated 1 matches for "suggestion_email".
2006 Jul 27
2
setting initial text field values in a form
...if ( session[:user_id] != nil )
then
logged_in_user = User.find(session[:user_id])
end
%>
<% form_for :suggestion do |form| %>
<label for="suggestion_title">Topic:</label><br/>
<%= form.text_field :title, :size => 64 %>
<label for="suggestion_email">Email:</label><br/>
<%= form.text_field :email, :size => 64 %>
<label for="suggestion_suggestion">Suggestion:</label><br/>
<%= form.text_area :suggestion, :size => 1000, :cols => 48 %>
<%= submit_tag "Send Feedback",...