[openstreetmap/openstreetmap-website] Add navigation tabs to new block pages (PR #5090)
Tom Hughes
notifications at github.com
Sun Aug 18 10:58:11 UTC 2024
@tomhughes requested changes on this pull request.
> <li class="nav-item">
<%= link_to t(".block", :id => @user_block.id),
user_block_path(@user_block),
:class => "nav-link active" %>
</li>
<% end %>
+ <% if @user_block&.new_record? %>
This could just be `elsif` instead of starting a new if?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5090#pullrequestreview-2244281032
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5090/review/2244281032 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240818/976a3cc0/attachment.htm>
More information about the rails-dev
mailing list