mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
新增:许可证排序字段
This commit is contained in:
@@ -30,6 +30,18 @@
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>
|
||||
<span class="color-grey-6 pt10">
|
||||
排序等级
|
||||
<span class="ml10 color-orange mr20">*</span>
|
||||
</span>
|
||||
</label>
|
||||
<div class="mt-10">
|
||||
<%= f.number_field :position, class: "form-control",placeholder: ""%>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<%= f.submit "确认", class: "btn btn-primary submit-btn" %>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<th width="5%">序号</th>
|
||||
<th width="15%">名称</th>
|
||||
<th width="35%">简介</th>
|
||||
<th width="10%"><%= sort_tag('排序等级', name: 'position', path: admins_project_licenses_path) %></th>
|
||||
<%
|
||||
=begin%>
|
||||
<th width="10%"><%= sort_tag('项目数', name: 'projects_count', path: admins_project_licenses_path) %></th>
|
||||
@@ -24,6 +25,7 @@
|
||||
<td>
|
||||
<%= project_license.content.to_s.truncate(200) %>
|
||||
</td>
|
||||
<td><%= project_license.position %></td>
|
||||
<%
|
||||
=begin%>
|
||||
<td><%= project_license.projects_count %></td>
|
||||
|
||||
Reference in New Issue
Block a user