openstreetmap-website/app/views/notes/new.html.erb
Andy Allan a88da1d71a Refactor translation strings for notes
These aren't used by any javascript code, so don't need to be in
the `javascripts` key.
2023-02-01 17:24:48 +00:00

17 lines
614 B
Text

<% set_title(t(".title")) %>
<%= render "sidebar_header", :title => t(".title") %>
<div class="note">
<p class="alert alert-info"><%= t(".intro") %></p>
<form action="#">
<input type="hidden" name="lon" autocomplete="off">
<input type="hidden" name="lat" autocomplete="off">
<div class="mb-3">
<textarea class="form-control" name="text" cols="40" rows="10" maxlength="2000" placeholder="<%= t(".advice") %>"></textarea>
</div>
<div class="btn-wrapper">
<input type="submit" name="add" value="<%= t(".add") %>" disabled="1" class="btn btn-primary">
</div>
</form>
</div>