作者 何书鹏
1 个管道 的构建 通过 耗费 21 秒

小区经纬度必填

@@ -50,19 +50,19 @@ @@ -50,19 +50,19 @@
50 <div class="form-group address"> 50 <div class="form-group address">
51 <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label> 51 <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
52 <div class="col-xs-12 col-sm-8"> 52 <div class="col-xs-12 col-sm-8">
53 - <input id="address" class="form-control" name="row[address]" type="text"> 53 + <input id="address" data-rule="required" class="form-control" name="row[address]" type="text">
54 </div> 54 </div>
55 </div> 55 </div>
56 <div class="form-group lon"> 56 <div class="form-group lon">
57 <label class="control-label col-xs-12 col-sm-2">{:__('Lon')}:</label> 57 <label class="control-label col-xs-12 col-sm-2">{:__('Lon')}:</label>
58 <div class="col-xs-12 col-sm-8"> 58 <div class="col-xs-12 col-sm-8">
59 - <input id="lng" class="form-control" name="row[lon]" type="text"> 59 + <input id="lng" data-rule="required" class="form-control" name="row[lon]" type="text">
60 </div> 60 </div>
61 </div> 61 </div>
62 <div class="form-group lat"> 62 <div class="form-group lat">
63 <label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label> 63 <label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>
64 <div class="col-xs-12 col-sm-8"> 64 <div class="col-xs-12 col-sm-8">
65 - <input id="lat" class="form-control" name="row[lat]" type="text"> 65 + <input id="lat" data-rule="required" class="form-control" name="row[lat]" type="text">
66 </div> 66 </div>
67 </div> 67 </div>
68 <!--<div class="form-group">--> 68 <!--<div class="form-group">-->
@@ -48,19 +48,19 @@ @@ -48,19 +48,19 @@
48 <div class="form-group"> 48 <div class="form-group">
49 <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label> 49 <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
50 <div class="col-xs-12 col-sm-8"> 50 <div class="col-xs-12 col-sm-8">
51 - <input id="address" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}"> 51 + <input id="address" data-rule="required" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
52 </div> 52 </div>
53 </div> 53 </div>
54 <div class="form-group"> 54 <div class="form-group">
55 <label class="control-label col-xs-12 col-sm-2">{:__('Lon')}:</label> 55 <label class="control-label col-xs-12 col-sm-2">{:__('Lon')}:</label>
56 <div class="col-xs-12 col-sm-8"> 56 <div class="col-xs-12 col-sm-8">
57 - <input id="lng" class="form-control" name="row[lon]" type="text" value="{$row.lon|htmlentities}"> 57 + <input id="lng" data-rule="required" class="form-control" name="row[lon]" type="text" value="{$row.lon|htmlentities}">
58 </div> 58 </div>
59 </div> 59 </div>
60 <div class="form-group"> 60 <div class="form-group">
61 <label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label> 61 <label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>
62 <div class="col-xs-12 col-sm-8"> 62 <div class="col-xs-12 col-sm-8">
63 - <input id="lat" class="form-control" name="row[lat]" type="text" value="{$row.lat|htmlentities}"> 63 + <input id="lat" data-rule="required" class="form-control" name="row[lat]" type="text" value="{$row.lat|htmlentities}">
64 </div> 64 </div>
65 </div> 65 </div>
66 <!--<div class="form-group">--> 66 <!--<div class="form-group">-->