X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b5046fdcd02b7ae9c10f22fa0b483e6eb2e06fa3..b79e4f04b9197e1c1954638db46c9d97597612d4:/app/views/notes/new.html.erb diff --git a/app/views/notes/new.html.erb b/app/views/notes/new.html.erb index c8f658f53..6728b32ff 100644 --- a/app/views/notes/new.html.erb +++ b/app/views/notes/new.html.erb @@ -1,17 +1,22 @@ -<% set_title(t("browse.note.new_note")) %> +<% set_title(t(".title")) %> -<%= render "sidebar_header", :title => t("browse.note.new_note") %> +<%= render "sidebar_header", :title => t(".title") %>
-

<%= t("javascripts.notes.new.intro") %>

+

<%= t(".intro") %>

+ <% if !current_user %> +

<%= t ".anonymous_warning_html", + :log_in => link_to(t(".anonymous_warning_log_in"), login_path(:referer => new_note_path)), + :sign_up => link_to(t(".anonymous_warning_sign_up"), user_new_path) %>

+ <% end %>
- +
- " disabled="1" class="btn btn-primary"> + " disabled="1" class="btn btn-primary">