mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-14 22:24:36 +08:00
add page theme destroy limitation
This commit is contained in:
@@ -9,15 +9,15 @@
|
||||
</div>
|
||||
<%= 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>
|
||||
建站工具
|
||||
</label>
|
||||
<% state_options = [['hugo', "hugo"], ['jeklly', "jeklly"],['hexo',"hexo"]] %>
|
||||
<%= select_tag('page_theme[language_frame]', options_for_select(state_options), class: 'form-control') %>
|
||||
|
||||
</div>
|
||||
|
||||
<% if type == "create"%>
|
||||
<div class="form-group">
|
||||
<label>
|
||||
建站工具
|
||||
</label>
|
||||
<% state_options = [['hugo', "hugo"], ['jeklly', "jeklly"],['hexo',"hexo"]] %>
|
||||
<%= select_tag('page_theme[language_frame]', options_for_select(state_options), class: 'form-control') %>
|
||||
</div>
|
||||
<% end%>
|
||||
<div class="form-group">
|
||||
<label>
|
||||
主题名 <span class="ml10 color-orange mr20">*</span>
|
||||
|
||||
Reference in New Issue
Block a user