Writing a new message to <%= h(params[:display_name]) %>
TODO: drop down box of your friends
<%end%> <%= error_messages_for 'message' %> <% form_for :message, :url => { :action => "new", :user_id => @to_user.id } do |f| %>Subject | <%= f.text_field :title, :size => 60, :value => @title %> |
---|---|
Body | <%= f.text_area :body, :cols => 80, :value => @body %> |
<%= submit_tag 'Send' %> |