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

小区经纬度必填

... ... @@ -50,19 +50,19 @@
<div class="form-group address">
<label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="address" class="form-control" name="row[address]" type="text">
<input id="address" data-rule="required" class="form-control" name="row[address]" type="text">
</div>
</div>
<div class="form-group lon">
<label class="control-label col-xs-12 col-sm-2">{:__('Lon')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="lng" class="form-control" name="row[lon]" type="text">
<input id="lng" data-rule="required" class="form-control" name="row[lon]" type="text">
</div>
</div>
<div class="form-group lat">
<label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="lat" class="form-control" name="row[lat]" type="text">
<input id="lat" data-rule="required" class="form-control" name="row[lat]" type="text">
</div>
</div>
<!--<div class="form-group">-->
... ...
... ... @@ -48,19 +48,19 @@
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="address" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
<input id="address" data-rule="required" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Lon')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="lng" class="form-control" name="row[lon]" type="text" value="{$row.lon|htmlentities}">
<input id="lng" data-rule="required" class="form-control" name="row[lon]" type="text" value="{$row.lon|htmlentities}">
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>
<div class="col-xs-12 col-sm-8">
<input id="lat" class="form-control" name="row[lat]" type="text" value="{$row.lat|htmlentities}">
<input id="lat" data-rule="required" class="form-control" name="row[lat]" type="text" value="{$row.lat|htmlentities}">
</div>
</div>
<!--<div class="form-group">-->
... ...