]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/new_note.html.erb
Refactor away from global form control styling
[rails.git] / app / views / browse / new_note.html.erb
index 1b01e4375b3bc97390c66f3f70554b83b4b0d9df..fbc2da3cd7d06fa27e9cbe4883fa4d392d52c358 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,15 +6,13 @@
 </h2>
 
 <div class="note browse-section">
 </h2>
 
 <div class="note browse-section">
-  <p class="warning"><%= t('javascripts.notes.new.intro') %></p>
-  <form action="#">
+  <p class="warning"><%= t("javascripts.notes.new.intro") %></p>
+  <form action="#" class="standard-form">
     <input type="hidden" name="lon">
     <input type="hidden" name="lat">
     <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" maxlength="2000" placeholder="<%= t("javascripts.notes.new.advice") %>"></textarea>
     <div class="buttons clearfix">
     <div class="buttons clearfix">
-      <input type="submit" name="add" value="<%= t('javascripts.notes.new.add') %>" disabled="1">
+      <input type="submit" name="add" value="<%= t("javascripts.notes.new.add") %>" disabled="1">
     </div>
   </form>
 </div>
     </div>
   </form>
 </div>