]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/new_note.html.erb
JSON: return HTTP 406 for unsupported formats
[rails.git] / app / views / browse / new_note.html.erb
index e8b64b705777a75c77c3fc5cbac914c3d4081c02..2929e610ece6ebbf345b906509f7d7f769f2fc45 100644 (file)
@@ -1,4 +1,4 @@
-<% set_title(t "browse.note.new_note") %>
+<% set_title(t("browse.note.new_note")) %>
 
 <h2>
   <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
@@ -6,13 +6,13 @@
 </h2>
 
 <div class="note browse-section">
-  <p class="warning"><%= 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">
-    <textarea class="comment" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t('javascripts.notes.new.advice') %>"></textarea>
+    <textarea class="comment" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t("javascripts.notes.new.advice") %>"></textarea>
     <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>