diff --git a/app/views/mcp_settings/index.html.erb b/app/views/mcp_settings/index.html.erb
index aa2363d7b..917465830 100644
--- a/app/views/mcp_settings/index.html.erb
+++ b/app/views/mcp_settings/index.html.erb
@@ -70,7 +70,7 @@
<%= mcp_token.name %>
-
+
<% if @mcp_token.present? && mcp_token.id == @mcp_token.id %>
<%= @mcp_token.token %>
<% else %>
diff --git a/app/views/shared/_settings_nav.html.erb b/app/views/shared/_settings_nav.html.erb
index 3dd2ea2eb..e12b42a16 100644
--- a/app/views/shared/_settings_nav.html.erb
+++ b/app/views/shared/_settings_nav.html.erb
@@ -2,9 +2,9 @@
<% unless expanded || turbo_native_app? %>
<% end %>
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index 4b9df351c..c2035ae0e 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -2,7 +2,7 @@
<%= render 'shared/settings_nav' %>
-
+
<% if params[:status] == 'archived' %>
<%= t('archived_users') %>
@@ -14,10 +14,15 @@
<% if params[:status].blank? %>
<% if can?(:create, User.new(account: current_account)) %>
- <%= link_to new_user_path, class: 'shrink-0 md:order-3 btn btn-primary btn-md gap-2', title: t('new_user'), data: { turbo_frame: 'modal' } do %>
- <%= svg_icon('plus', class: 'w-6 h-6') %>
- <%= t('new') %>
- <%= t('new_user') %>
+ <% extra_buttons_html = render('users/extra_buttons') %>
+ <% if content_for(:add_user_button) %>
+ <%= content_for(:add_user_button) %>
+ <% else %>
+ <%= link_to new_user_path, class: 'shrink-0 md:order-3 btn btn-primary btn-md gap-2', title: t('new_user'), data: { turbo_frame: 'modal' } do %>
+ <%= svg_icon('plus', class: 'w-6 h-6') %>
+ <%= t('new') %>
+ <%= t('new_user') %>
+ <% end %>
<% end %>
<% else %>
@@ -29,9 +34,9 @@
<% end %>
<% end %>
- <% if params[:status].blank? && can?(:create, User.new(account: current_account)) %>
+ <% if extra_buttons_html.present? %>
- <%= render 'users/extra_buttons' %>
+ <%= extra_buttons_html %>
<% end %>
@@ -63,8 +68,8 @@
<% if can_edit %>
-
-
- <%= link_to edit_user_path(user), class: 'flex items-center gap-2', data: { turbo_frame: 'modal' } do %>
+
+ <%= link_to edit_user_path(user), class: 'flex items-center gap-2 px-4 py-2', data: { turbo_frame: 'modal' } do %>
<%= svg_icon('pencil', class: 'w-5 h-5 flex-shrink-0') %>
<%= t('edit') %>
<% end %>
@@ -73,8 +78,8 @@
<% end %>
<% if can_remove %>
-
-
-
|