X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/40da695cfd1a3b35539bc061146dbde12bb6eca7..0babf982564e1dd1e096cbae09d62436729f703a:/app/views/user_blocks/_navigation.html.erb diff --git a/app/views/user_blocks/_navigation.html.erb b/app/views/user_blocks/_navigation.html.erb index a84ba1339..061989586 100644 --- a/app/views/user_blocks/_navigation.html.erb +++ b/app/views/user_blocks/_navigation.html.erb @@ -34,4 +34,17 @@ :class => ["nav-link", { :active => action_name == "blocks_by" }] %> <% end %> + <% if @user_block&.persisted? %> + + <% elsif @user_block&.new_record? %> + + <% end %>