X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e6af088dda8e85f53b11ffbaddb11edf08e4a046..ed8b7fde422b6e33780f914361c85e39ce79a8ce:/app/views/message/new.rhtml?ds=sidebyside 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 %>