X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e6af088dda8e85f53b11ffbaddb11edf08e4a046..2eec60b575b06f5a1a0242d43af3eb294be6c614:/app/views/message/new.rhtml diff --git a/app/views/message/new.rhtml b/app/views/message/new.rhtml index b2d31b842..27c501322 100644 --- a/app/views/message/new.rhtml +++ b/app/views/message/new.rhtml @@ -3,16 +3,27 @@
Writing a new message to <%= params[:display_name] %>
+Writing a new message to <%= h(params[:display_name]) %>
TODO: drop down box of your friends
<%end%> <%= error_messages_for 'message' %> -<% form_tag :controller => 'message', :action => 'new' do %> -subject: <%= text_field 'message', 'title' %>Subject | +<%= f.text_field :title, :size => 60 %> | +
---|---|
Body | +<%= f.text_area :body, :cols => 80 %> | +
+ | <%= submit_tag 'Send' %> | +