add basic profile settings

This commit is contained in:
Alex Turchyn
2023-06-07 01:36:47 +03:00
parent 368e364823
commit 219ad2b4a7
15 changed files with 186 additions and 25 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
</label>
<ul tabindex="0" class="dropdown-content p-2 mt-2 shadow menu bg-base-100 rounded-box whitespace-nowrap">
<li>
<%= link_to 'Profile', settings_profile_index_path, class: 'text-right' %>
<%= link_to 'Profile Settings', contact_settings_profile_index_path, class: 'text-right' %>
</li>
<li>
<%= link_to 'Sign out', destroy_user_session_path, data: { turbo_method: :delete } %>
+1 -1
View File
@@ -4,7 +4,7 @@
<li class="menu-title !pt-0"><span>Settings</span></li>
<li></li>
<li>
<%= link_to 'Profile', settings_profile_index_path, class: "text-base hover:bg-base-300" %>
<%= link_to 'Profile', contact_settings_profile_index_path, class: "text-base hover:bg-base-300" %>
</li>
<li>
<%= link_to 'Email', settings_email_index_path, class: "text-base hover:bg-base-300" %>