]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/new_note.html.erb
Prevent CSRF bypass updating account details
[rails.git] / app / views / browse / new_note.html.erb
index 2929e610ece6ebbf345b906509f7d7f769f2fc45..e647eab13803d513cbd57158d2628855a5a8a839 100644 (file)
@@ -1,13 +1,10 @@
 <% 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 class="warning"><%= t("javascripts.notes.new.intro") %></p>
-  <form action="#">
+  <p class="alert alert-info"><%= t("javascripts.notes.new.intro") %></p>
+  <form action="#" class="standard-form">
     <input type="hidden" name="lon">
     <input type="hidden" name="lat">
     <textarea class="comment" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t("javascripts.notes.new.advice") %>"></textarea>