1 <% set_title(t(".title")) %>
3 <%= render "sidebar_header", :title => t(".title") %>
6 <p class="alert alert-info"><%= t(".intro") %></p>
8 <div class="alert alert-warning pb-0">
9 <p><%= t ".anonymous_warning_html",
10 :log_in => link_to(t(".anonymous_warning_log_in"), login_path(:referer => new_note_path)),
11 :sign_up => link_to(t(".anonymous_warning_sign_up"), new_user_path) %></p>
12 <% if @anonymous_notes_count >= 10 %>
13 <p><%= t ".counter_warning_html",
14 :x_anonymous_notes => t(".x_anonymous_notes", :count => @anonymous_notes_count),
15 :contribute_by_yourself => link_to(t(".counter_warning_guide_link.text"), t(".counter_warning_guide_link.url")),
16 :community_can_help => link_to(t(".counter_warning_forum_link.text"), t(".counter_warning_forum_link.url")) %></p>
20 <p class="alert alert-warning" id="new-note-zoom-warning" hidden><%= t "javascripts.site.createnote_disabled_tooltip" %></p>
22 <input type="hidden" name="lon" autocomplete="off">
23 <input type="hidden" name="lat" autocomplete="off">
25 <%= text_area_tag "text", "", :class => "form-control", :size => "40x10", :maxlength => "2000", :placeholder => t(".advice") %>
28 <%= submit_tag t(".add"), :name => "add", :disabled => 1, :class => "btn btn-primary" %>