@AntonKhorev commented on this pull request.


> +    <p class="alert alert-warning">
+      <%= 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"), 
new_user_path) %>
+    <% if @anonymous_notes_count >= 10 %>
+      <br><%= t ".counter_warning_html",
+                :x_anonymous_notes => t(".x_anonymous_notes", :count => 
@anonymous_notes_count),
+                :contribute_by_yourself => 
link_to(t(".counter_warning_guide_link.text"), 
t(".counter_warning_guide_link.url")),
+                :community_can_help => 
link_to(t(".counter_warning_forum_link.text"), 
t(".counter_warning_forum_link.url")) %>
+    <% end %>
+    </p>

How about something like this to add a gap between the messages?

```erb
    <div class="alert alert-warning pb-0">
      <p>...</p>
    <% if @anonymous_notes_count >= 10 %>
      <p>...</p>
    <% end %>
    </div>
```

![image](https://github.com/user-attachments/assets/a9cb8852-3190-4d85-9cdc-509a4cabb7d8)


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5468#pullrequestreview-2539927446
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5468/review/2539927...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to