]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/new_note.html.erb
Fixed existing tests
[rails.git] / app / views / browse / new_note.html.erb
index 09af23edc00a74517871a801a7407bb6d32a567c..49922494e25906b6526e8299a44f3f8dbac37afd 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>
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
@@ -6,13 +6,11 @@
 </h2>
 
 <div class="note browse-section">
 </h2>
 
 <div class="note browse-section">
-  <p><%= t('javascripts.notes.new.intro') %></p>
+  <p class="warning"><%= t('javascripts.notes.new.intro') %></p>
   <form action="#">
     <input type="hidden" name="lon">
     <input type="hidden" name="lat">
   <form action="#">
     <input type="hidden" name="lon">
     <input type="hidden" name="lat">
-    <br/>
     <textarea class="comment" name="text" cols="40" rows="10"></textarea>
     <textarea class="comment" name="text" cols="40" rows="10"></textarea>
-    <br/>
     <div class="buttons clearfix">
       <input type="submit" name="add" value="<%= t('javascripts.notes.new.add') %>" disabled="1">
     </div>
     <div class="buttons clearfix">
       <input type="submit" name="add" value="<%= t('javascripts.notes.new.add') %>" disabled="1">
     </div>