]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/templates/notes/new.jst.ejs
Fix add note
[rails.git] / app / assets / javascripts / templates / notes / new.jst.ejs
index 9ccfab4f7199acd70a5588cd521a2105bef0b418..003971088cd37a626b20da30e05387f96522756f 100644 (file)
@@ -1,11 +1,12 @@
-<p>
-  Move the marker to the correct position and<br/>
-  describe the problem in the box below:
-</p>
-<form action="#">
-  <input type="hidden" name="lon">
-  <input type="hidden" name="lat">
-  <textarea name="comment" cols="40" rows="10"></textarea>
-  <br/>
-  <input type="submit" name="add" value="Add Note" id="note-add">
-</form>
+<div class="note">
+  <p><%- I18n.t('javascripts.notes.new.intro') %></p>
+  <form action="#">
+    <input type="hidden" name="lon">
+    <input type="hidden" name="lat">
+    <textarea class="comment" name="text" cols="40" rows="10"></textarea>
+    <br/>
+    <div class="buttons clearfix">
+      <input type="submit" name="add" value="<%- I18n.t('javascripts.notes.new.add') %>" disabled="1">
+    </div>
+  </form>
+</div>