]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/new_note.html.erb
Enable line breaks in performatted text within rich text
[rails.git] / app / views / browse / new_note.html.erb
index 1b01e4375b3bc97390c66f3f70554b83b4b0d9df..f6518daf204b2d5acc8b97c0bfe1332aa02ca930 100644 (file)
@@ -1,4 +1,4 @@
-<% set_title("New Note") %>
+<% set_title(t "browse.note.new_note") %>
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
@@ -10,9 +10,7 @@
   <form action="#">
     <input type="hidden" name="lon">
     <input type="hidden" name="lat">
-    <br/>
-    <textarea class="comment" name="text" cols="40" rows="10"></textarea>
-    <br/>
+    <textarea class="comment" name="text" cols="40" rows="10" placeholder="<%= t('javascripts.notes.new.advice') %>"></textarea>
     <div class="buttons clearfix">
       <input type="submit" name="add" value="<%= t('javascripts.notes.new.add') %>" disabled="1">
     </div>