X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/63303c22b704ca290c16ae908da1324f3ea25b2c..5bb23f6f5f8fed81f1166a15344e44afa7fbb480:/app/views/notes/new.html.erb?ds=sidebyside diff --git a/app/views/notes/new.html.erb b/app/views/notes/new.html.erb index ee9837056..c9b1275b9 100644 --- a/app/views/notes/new.html.erb +++ b/app/views/notes/new.html.erb @@ -4,13 +4,18 @@

<%= 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">