Move theme templates to new location
This commit is contained in:
parent
298c7d625e
commit
b15aaafccd
|
@ -7,7 +7,7 @@
|
|||
- if current_user.theme
|
||||
.pull-right
|
||||
= button_to t(".delete"), delete_user_theme_path, data: { confirm: t("voc.confirm") }, tabindex: -1, method: :delete, class: "btn btn-danger"
|
||||
= bootstrap_form_for(current_user.theme || Theme.new, url: { action: "update_theme" }, html: { id: "update_theme" }, method: :patch) do |f|
|
||||
= bootstrap_form_for(current_user.theme || Theme.new, url: { action: "update" }, html: { id: "update" }, method: :patch) do |f|
|
||||
.card
|
||||
.card-body
|
||||
%h2= t(".general.heading")
|
||||
|
@ -103,3 +103,6 @@
|
|||
.card-body
|
||||
.pull-left
|
||||
= f.primary
|
||||
|
||||
- provide(:title, generate_title(t(".title")))
|
||||
- parent_layout "user/settings"
|
|
@ -1,4 +1,3 @@
|
|||
= render "settings/theme"
|
||||
|
||||
- provide(:title, generate_title(t(".title")))
|
||||
- parent_layout "user/settings"
|
||||
|
||||
|
|
Loading…
Reference in New Issue