app/views/educode_sales/ideas/new.html.erb in educode_sales-0.9.52 vs app/views/educode_sales/ideas/new.html.erb in educode_sales-0.9.53

- old
+ new

@@ -25,45 +25,45 @@ </div> </div> </div> <div class="layui-row" style="padding-top: 15px"> <div class="layui-col-md6"> - <labeL class="layui-form-label required"><span style="color:red;">*</span>项目名称:</labeL> + <labeL class="layui-form-label required">项目名称:</labeL> <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"><span style="color:red;">*</span>指派人:</labeL> + <labeL class="layui-form-label required">指派人:</labeL> <div class="layui-input-block"> <%= select_tag "staff_id", options_for_select(EducodeSales::Staff.all.map { |d| [d.user&.real_name, d.id] }, @idea&.staff_id), { 'lay-filter': 'staff_id', include_blank: false } %> </div> </div> </div> <div class="layui-row" style="padding-top: 15px"> <div class="layui-col-md6"> - <labeL class="layui-form-label required"><span style="color:red;">*</span>优先级:</labeL> + <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> </div> <div class="layui-col-md6"> - <labeL class="layui-form-label required"><span style="color:red;">*</span>状态:</labeL> + <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> </div> </div> <div class="layui-row" style="padding-top: 15px"> <div class="layui-col-md6"> - <labeL class="layui-form-label required"><span style="color:red;">*</span>类型:</labeL> + <labeL class="layui-form-label required">类型:</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"><span style="color:red;">*</span>部署模式:</labeL> + <labeL class="layui-form-label required">部署模式:</labeL> <div class="layui-input-block"> <%= select_tag "model", options_for_select(EducodeSales::Idea.models.keys, @idea&.model), { 'lay-filter': 'model', include_blank: false } %> </div> </div> </div> @@ -73,33 +73,33 @@ <div class="layui-input-block"> <input type="number" name="hardware" autocomplete="off" lay-verify="required" lay-reqtext="硬件规模不能为空" placeholder="请输入硬件规模" value="<%= @idea&.hardware %>" class="layui-input"> </div> </div> <div class="layui-col-md6"> - <labeL class="layui-form-label required"><span style="color:red;">*</span>项目预算(万):</labeL> + <labeL class="layui-form-label required">项目预算(万):</labeL> <div class="layui-input-block"> <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"> - <labeL class="layui-form-label required"><span style="color:red;">*</span>项目规模(人):</labeL> + <labeL class="layui-form-label required">项目规模(人):</labeL> <div class="layui-input-block"> <input type="number" name="project" autocomplete="off" lay-verify="required" lay-reqtext="项目规模不能为空" placeholder="请输入项目规模" value="<%= @idea&.project %>" class="layui-input"> </div> </div> <div class="layui-col-md6"> - <labeL class="layui-form-label required"><span style="color:red;">*</span>截止时间:</labeL> + <labeL class="layui-form-label required">截止时间:</labeL> <div class="layui-input-block"> <input type="text" id="new_time" name="end_time" autocomplete="off" lay-verify="required" lay-reqtext="截止时间不能为空" placeholder="请选择截止时间" value="<%= @idea&.end_time&.to_s(:date) %>" class="layui-input"> </div> </div> </div> <div class="layui-row" style="padding-top: 15px"> - <labeL class="layui-form-label required">反馈情况:</labeL> + <labeL class="layui-form-label">反馈情况:</labeL> <div class="layui-input-block"> - <textarea name="content" lay-verify="required" placeholder="反馈情况" class="layui-textarea"><%= @idea&.content.to_s %></textarea> + <textarea name="content" placeholder="反馈情况" class="layui-textarea"><%= @idea&.content.to_s %></textarea> </div> </div> <div class="layui-row" style="padding-top: 30px; float: left"> <div class="layui-input-block"> <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveBtn">确认保存</button> \ No newline at end of file