[openstreetmap/openstreetmap-website] Add navigation tabs to new block pages (PR #5090)

Anton Khorev notifications at github.com
Mon Aug 19 10:50:15 UTC 2024


@AntonKhorev commented 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? %>

changed to `elsif`

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

Message ID: <openstreetmap/openstreetmap-website/pull/5090/review/2245240267 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240819/85a01b0a/attachment.htm>


More information about the rails-dev mailing list