X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e6af088dda8e85f53b11ffbaddb11edf08e4a046..d3b42fef34849eafb281512fc8794d8bfb138719:/app/views/message/new.rhtml diff --git a/app/views/message/new.rhtml b/app/views/message/new.rhtml index b2d31b842..883fdfbc0 100644 --- a/app/views/message/new.rhtml +++ b/app/views/message/new.rhtml @@ -9,10 +9,21 @@ <%= error_messages_for 'message' %> -<% form_tag :controller => 'message', :action => 'new' do %> -subject: <%= text_field 'message', 'title' %>
-body: <%= text_area 'message', 'body' %>
- <%= submit_tag 'Send' %> +<% form_for :message do |f| %> + + + + + + + + + + + + + +
Subject<%= f.text_field :title, :size => 60 %>
Body<%= f.text_area :body, :cols => 80 %>
<%= submit_tag 'Send' %>
<% end %>