mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
themes image fix
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<span aria-hidden="true">×</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>
|
||||
|
||||
10
app/views/site_pages/themes.json.jbuilder
Normal file
10
app/views/site_pages/themes.json.jbuilder
Normal file
@@ -0,0 +1,10 @@
|
||||
json.total_count @themes.size
|
||||
json.themes @themes.map{|e|
|
||||
{
|
||||
name: e.name,
|
||||
language_frame: e.language_frame,
|
||||
image: e.image,
|
||||
clone_url: e.clone_url,
|
||||
order_index: e.order_index,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user