<% if signed_in? %> <%= link_to t('profile'), settings_profile_index_path %> <%= link_to t('settings'), settings_path %> <% if can?(:create, ::Template) && controller_name.in?(%w[templates_dashboard submissions_dashboard template_folders]) %> <% folder_name = @template_folder&.full_name %> "> <% if Docuseal.multitenant? %> <%= link_to 'Google Drive', new_template_path(modal_tab: 'google_drive', folder_name: folder_name), data: { turbo_frame: :modal } %> <% end %> <%= link_to t('create'), new_template_path(folder_name: folder_name), data: { turbo_frame: :modal } %> <% end %> <% end %>