themes image fix

This commit is contained in:
呱呱呱
2023-08-24 16:03:40 +08:00
parent 3dacc83e4a
commit 31bb2502b8
5 changed files with 25 additions and 10 deletions
@@ -7,7 +7,7 @@
<span aria-hidden="true">&times;</span>
</button>
</div>
<%= simple_form_for(@page_theme, url: admins_page_themes_path(@page_theme)) do |p| %>
<%= form_for @page_theme, url: {controller: "page_themes", action: "#{type}"}, html: { enctype: 'multipart/form-data' } do |p| %>
<div class="modal-body">
<div class="form-group">
<label>