Convert account setting menu to tabs, and include on other pages

This makes it easier to navigate around these pages. Since each tab
corresponds to a given controller, this makes the selection of active
tabs straightforward.
This commit is contained in:
Andy Allan 2021-08-18 14:30:35 +01:00
parent 7d46f5db60
commit 6ab522b2b3
13 changed files with 44 additions and 11 deletions

View file

@ -23,7 +23,7 @@ class ClientApplicationsTest < ActionDispatch::IntegrationTest
# check that the form to allow new client application creations exists
assert_in_heading do
assert_select "ul.secondary-actions li a[href='/user/#{ERB::Util.u(user.display_name)}/oauth_clients']"
assert_select "ul.nav.nav-tabs li.nav-item a[href='/user/#{ERB::Util.u(user.display_name)}/oauth_clients']"
end
# now we follow the link to the oauth client list