app/views/educode_sales/ideas/edit.html.erb in educode_sales-0.9.65 vs app/views/educode_sales/ideas/edit.html.erb in educode_sales-0.9.66
- old
+ new
@@ -53,34 +53,34 @@
<div class="layui-input-block">
<input type="text" name="name" autocomplete="off" lay-verify="required" lay-reqtext="项目名称不能为空" placeholder="请输入项目名称" value="<%= @idea&.name %>" class="layui-input">
</div>
</div>
<div class="layui-col-md6">
- <labeL class="layui-form-label required">方案指派人:</labeL>
+ <labeL class="layui-form-label">方案指派人:</labeL>
<div class="layui-input-block">
<div id="new_staff_id"></div>
</div>
</div>
</div>
- <div class="layui-row" style="padding-top: 15px">
- <div class="layui-col-md6">
- <labeL class="layui-form-label required">优先级:</labeL>
- <div class="layui-input-block">
- <%= select_tag "level", options_for_select(EducodeSales::Idea.levels.keys, @idea&.level), { 'lay-filter': 'level', include_blank: false } %>
+ <div class="layui-row" style="padding-top: 15px">
+ <div class="layui-col-md6">
+ <labeL class="layui-form-label">优先级:</labeL>
+ <div class="layui-input-block">
+ <%= select_tag "level", options_for_select(EducodeSales::Idea.levels.keys, @idea&.level), { 'lay-filter': 'level', include_blank: false } %>
+ </div>
</div>
- </div>
- <div class="layui-col-md6">
- <labeL class="layui-form-label required">状态:</labeL>
- <div class="layui-input-block">
- <%= select_tag "status", options_for_select(EducodeSales::Idea.statuses.keys, @idea&.status), { 'lay-filter': 'status', include_blank: false } %>
+ <div class="layui-col-md6">
+ <labeL class="layui-form-label">状态:</labeL>
+ <div class="layui-input-block">
+ <%= select_tag "status", options_for_select(EducodeSales::Idea.statuses.keys, @idea&.status), { 'lay-filter': 'status', include_blank: false } %>
+ </div>
</div>
</div>
- </div>
- <div class="layui-row" style="padding-top: 15px">
- <div class="layui-col-md6">
- <labeL class="layui-form-label required">类型:</labeL>
- <div class="layui-input-block">
+ <div class="layui-row" style="padding-top: 15px">
+ <div class="layui-col-md6">
+ <labeL class="layui-form-label">类型:</labeL>
+ <div class="layui-input-block">
<%= select_tag "types", options_for_select(EducodeSales::Idea.types.keys, @idea&.types), { 'lay-filter': 'types', include_blank: false } %>
</div>
</div>
<div class="layui-col-md6">
<labeL class="layui-form-label required">部署模式:</labeL>
@@ -89,19 +89,19 @@
</div>
</div>
</div>
<div class="layui-row" style="padding-top: 15px">
<div class="layui-col-md6">
- <labeL class="layui-form-label required">硬件规模(万):</labeL>
+ <labeL class="layui-form-label">硬件规模(万):</labeL>
<div class="layui-input-block">
- <input type="number" name="hardware" autocomplete="off" lay-verify="required" lay-reqtext="硬件规模不能为空" placeholder="请输入硬件规模" value="<%= @idea&.hardware %>" class="layui-input">
+ <input type="number" name="hardware" autocomplete="off" placeholder="请输入硬件规模" value="<%= @idea&.hardware %>" class="layui-input">
</div>
</div>
<div class="layui-col-md6">
- <labeL class="layui-form-label">项目预算(万):</labeL>
+ <labeL class="layui-form-label required">项目预算(万):</labeL>
<div class="layui-input-block">
- <input type="number" name="money" autocomplete="off" placeholder="请输入项目预算" value="<%= @idea&.money %>" class="layui-input">
+ <input type="number" name="money" autocomplete="off" lay-verify="required" lay-reqtext="项目预算不能为空" placeholder="请输入项目预算" value="<%= @idea&.money %>" class="layui-input">
</div>
</div>
</div>
<div class="layui-row" style="padding-top: 5px">
<div class="layui-col-md6">
@@ -232,11 +232,11 @@
el: '#department_id',
remoteSearch: true,
autoRow: true,
radio: true,
delay: 1000,
- tips: '支持学校名称搜索,请至少输入一个字符',
- searchTips: '支持名称/省份搜索,请至少输入一个字符',
+ tips: '支持名称搜索,请至少输入一个字符',
+ searchTips: '支持名称搜索,请至少输入一个字符',
paging: true,
pageRemote: true,
filterable: true,
remoteMethod: function (val, cb, show, pageIndex) {
\ No newline at end of file