diff --git a/app/javascript/elements/open_modal_mobile.js b/app/javascript/elements/open_modal_mobile.js
index a9d45ed4..4096f1f6 100644
--- a/app/javascript/elements/open_modal_mobile.js
+++ b/app/javascript/elements/open_modal_mobile.js
@@ -1,5 +1,6 @@
export default class extends HTMLElement {
connectedCallback () {
+ if (this.dataset.disabled === 'true') return
if (!this.isMobile()) return
if (window.innerWidth >= 768) return
diff --git a/app/views/submissions_dashboard/index.html.erb b/app/views/submissions_dashboard/index.html.erb
index 5b8a0a71..9bfaf39a 100644
--- a/app/views/submissions_dashboard/index.html.erb
+++ b/app/views/submissions_dashboard/index.html.erb
@@ -18,7 +18,7 @@
<%= render 'templates/upload_button' %>
-
+
<%= link_to new_template_path, class: 'white-button !border gap-2', data: { turbo_frame: :modal } do %>
<%= svg_icon('plus', class: 'w-6 h-6 stroke-2') %>
<%= t('create') %>
diff --git a/app/views/template_folders/show.html.erb b/app/views/template_folders/show.html.erb
index d5557117..dd70e3fa 100644
--- a/app/views/template_folders/show.html.erb
+++ b/app/views/template_folders/show.html.erb
@@ -37,7 +37,7 @@
<%= render 'templates/upload_button', folder_name: @template_folder.full_name %>
-
+
<%= link_to new_template_path(folder_name: @template_folder.full_name), class: 'white-button !border gap-2', data: { turbo_frame: :modal } do %>
<%= svg_icon('plus', class: 'w-6 h-6 stroke-2') %>
<%= t('create') %>
diff --git a/app/views/templates_dashboard/index.html.erb b/app/views/templates_dashboard/index.html.erb
index 8ab97431..5406bf68 100644
--- a/app/views/templates_dashboard/index.html.erb
+++ b/app/views/templates_dashboard/index.html.erb
@@ -30,7 +30,7 @@
<%= render 'templates/upload_button' %>
-
+
<%= link_to new_template_path, class: 'white-button !border gap-2', data: { turbo_frame: :modal } do %>
<%= svg_icon('plus', class: 'w-6 h-6 stroke-2') %>
<%= t('create') %>