app/views/educode_sales/customers/new.html.erb in educode_sales-0.6.2 vs app/views/educode_sales/customers/new.html.erb in educode_sales-0.6.3

- old
+ new

@@ -1,34 +1,33 @@ <form class="layui-form layuimini-form" action=""> <div class="layui-form-item" style="padding: 25px"> <div class="layui-inline"> - <label class="layui-form-label required">学校:</label> - <div class="layui-input-block"> - <input type="text" name="name" lay-verify="required" placeholder="请输入学校" autocomplete="off" + <label class="layui-form-label required">客户:</label> + <div class="layui-input-block" style="width: 500px;"> + <input type="text" name="name" lay-verify="required" placeholder="请输入客户" autocomplete="off" class="layui-input" id="inputFocus"> </div> </div> <br> <div class="layui-inline"> <label class="layui-form-label required">省:</label> <div class="layui-input-block"> - <input type="text" name="province" lay-verify="required" autocomplete="off" - class="layui-input" placeholder="请输入省" > + <%= select_tag "province", options_for_select(EducodeSales::Common.where(clazz: 'area').pluck(:name)), { include_blank: true } %> </div> </div> <br> <div class="layui-inline"> <label class="layui-form-label ">市:</label> <div class="layui-input-block"> - <input type="text" name="city" autocomplete="off" + <input type="text" name="city" style="width: 223px;" autocomplete="off" class="layui-input" placeholder="请输入市" > </div> </div> <br> <div class="layui-inline"> <label class="layui-form-label ">地址:</label> - <div class="layui-input-block"> + <div class="layui-input-block" style="width: 500px;"> <input type="text" name="address" autocomplete="off" class="layui-input" placeholder="请输入地址" > </div> </div> <div class="layui-form-item"> @@ -49,10 +48,10 @@ <div class="layui-form-item"> <div class="layui-input-block"> <input type="checkbox" name="enterprise" lay-skin="primary" value="1" title="企业"> </div> </div> - <div class="layui-inline" style="padding-left: 30px"> + <div class="layui-inline" style="padding-left: 120px"> <button type="submit" class="layui-btn layui-btn-normal" lay-submit lay-filter="data-reset-btn">提交 </button> </div> </div> </form> \ No newline at end of file