]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/new_note.html.erb
Bump image_processing from 1.12.1 to 1.12.2
[rails.git] / app / views / browse / new_note.html.erb
index 09af23edc00a74517871a801a7407bb6d32a567c..1db7609b371ee96c6485a3afe0d4cdaf0531ff0f 100644 (file)
@@ -1,20 +1,17 @@
-<% set_title("New Note") %>
+<% set_title(t("browse.note.new_note")) %>
 
 
-<h2>
-  <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
-  <%= t "browse.note.new_note" %>
-</h2>
+<%= render "sidebar_header", :title => t("browse.note.new_note") %>
 
 
-<div class="note browse-section">
-  <p><%= t('javascripts.notes.new.intro') %></p>
+<div class="note">
+  <p class="alert alert-info"><%= t("javascripts.notes.new.intro") %></p>
   <form action="#">
   <form action="#">
-    <input type="hidden" name="lon">
-    <input type="hidden" name="lat">
-    <br/>
-    <textarea class="comment" name="text" cols="40" rows="10"></textarea>
-    <br/>
+    <input type="hidden" name="lon" autocomplete="off">
+    <input type="hidden" name="lat" autocomplete="off">
+    <div class="form-group">
+      <textarea class="form-control" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t("javascripts.notes.new.advice") %>"></textarea>
+    </div>
     <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" class="btn btn-primary">
     </div>
   </form>
 </div>
     </div>
   </form>
 </div>