]> git.openstreetmap.org Git - rails.git/blob - app/views/notes/new.html.erb
Fix warning on unescaped hyphen in regexp
[rails.git] / app / views / notes / new.html.erb
1 <% set_title(t(".title")) %>
2
3 <%= render "sidebar_header", :title => t(".title") %>
4
5 <div class="note">
6   <p class="alert alert-info"><%= t(".intro") %></p>
7   <form action="#">
8     <input type="hidden" name="lon" autocomplete="off">
9     <input type="hidden" name="lat" autocomplete="off">
10     <div class="mb-3">
11       <textarea class="form-control" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t(".advice") %>"></textarea>
12     </div>
13     <div class="btn-wrapper">
14       <input type="submit" name="add" value="<%= t(".add") %>" disabled="1" class="btn btn-primary">
15     </div>
16   </form>
17 </div>