<br>
<div class="row form-group">
    <div class="col-md-6">
        <div class="input-group">
            <span class="input-group-addon color-red">城市</span>
            <span>
                <select id="baseCity" name="baseCity" class="form-control"  style="width: 75px;">
                    <option value="-1"> 城市</option>
                    {% for item in city %}
                    <option  {% if result.city_id %}{{ item.id == result.city_id ?"selected":"" }}{% else %}{{ item.id == 2 ?"selected" }}{% endif %} value="{{ item.id }}">{{ item.value }}</option>
                    {% endfor %}
                </select>
            </span>
            <span>
                <select id="baseAreaId" name="baseAreaId" class="form-control" style="width: 100px;">
                    <option value = "-1">区域</option>
                    {% if district %}
                    {% for item in district %}
                    <option {{ item.id == result.district_id?"selected":"" }} value="{{ item.id }}">{{ item.value }}</option>
                    {% endfor %}
                    {% endif %}
                </select>
            </span>
            <span>
                <select id="basePlateId" name="basePlateId" class="form-control" style="width: 100px;">
                    <option value = "-1">板块</option>
                    {% if district %}
                    {% for item in plate %}
                    <option {{ item.id == result.plate_id?"selected":"" }} value="{{ item.id }}">{{ item.value }}</option>
                    {% endfor %}
                    {% endif %}
                </select>
            </span>
        </div>
    </div>
</div>
<br>
<div class="row form-group">
    <div class="col-md-6">
        <div class="input-group">
            <span class="input-group-addon">小区名称</span>
            <input type="text" name="community_name" id="community_name" value="{{ result.community_name }}" class="form-control">
        </div>
    </div>
    <div class="col-md-6">
        <div class="input-group">
            <span class="input-group-addon">建筑类型</span>
            <select id="baseRoom" name="baseRoom" class="form-control">
                {% for item in room %}
                <option {{ item.id == result.room_id?"selected":"" }} value="{{ item.id }}">{{ item.value }}</option>
                {% endfor %}
            </select>
        </div>
    </div>
</div>
<br>
<div class="row form-group">
    <div class="col-md-4">
        <div class="input-group">
            <span class="input-group-addon">入住时间</span>
            <input type="date" name="check_in_time" id="check_in_time" value="{{ result.check_in_time }}" class="form-control">
        </div>
    </div>
    <div class="col-md-4">
        <div class="input-group">
            <span class="input-group-addon">面积</span>
            <label for="min_coveredArea" class="hidden"></label>
            <input type="text" name="min_coveredArea" id="min_coveredArea" value="{{ result.min_coveredArea }}" class="form-control">
            <span class="input-group-addon">~</span>
            <label for="max_coveredArea" class="hidden"></label>
            <input type="text" name="max_coveredArea" id="max_coveredArea" value="{{ result.max_coveredArea }}" class="form-control">
            <span class="input-group-addon">m²</span>
        </div>
    </div>
    <div class="col-md-4">
        <div class="input-group">
            <span class="input-group-addon">楼层</span>
            <label for="min_floor" class="hidden"></label>
            <input type="text" name="min_floor" id="min_floor" value="{{ result.min_floor }}" class="form-control">
            <span class="input-group-addon">~</span>
            <label for="max_floor" class="hidden"></label>
            <input type="text" name="max_floor" id="max_floor" value="{{ result.max_floor }}" class="form-control">
            <span class="input-group-addon">m²</span>
        </div>
    </div>
</div>
<br>
<div class="row form-group">
    <div class="col-md-4">
        <div class="input-group">
            <span class="input-group-addon">产权</span>
            <select name="propertyRight" id="propertyRight" class="form-control">
                <option value="不限" selected="selected">不限</option>
                <option value="个人产权">个人产权</option>
                <option value="单位产权">单位产权</option>
                <option value="售后产权">售后产权</option>
                <option value="家庭成员共有">家庭成员共有</option>
                <option value="使用权">使用权</option>
                <option value="小产权">小产权</option>
                <option value="协议房">协议房</option>
                <option value="私产">私产</option>
                <option value="公产">公产</option>
                <option value="合同发票">合同发票</option>
                <option value="三联单">三联单</option>
                <option value="其他">其他</option>
            </select>
        </div>
    </div>
    <div class="col-md-4">
        <div class="input-group">
            <span class="input-group-addon">装修</span>
            <select name="decoration" id="decoration" class="form-control">
                <option value="不限" selected="selected">不限</option>
                <option value="毛坯">毛坯</option>
                <option value="简单装修">简单装修</option>
                <option value="中等装修">中等装修</option>
                <option value="精装修">精装修</option>
                <option value="豪华装修">豪华装修</option>
            </select>
        </div>
    </div>
    <div class="col-md-4">
        <div class="input-group">
            <span class="input-group-addon">年代</span>
            <select name="age" id="age" class="form-control">
                <option value="不限" selected="selected">不限</option>
                {% for item in age %}
                <option value="{{ item }}">{{ item }}</option>
                {% endfor %}
            </select>
        </div>
    </div>
</div>
<br>
<div class="row form-group">
    <div class="col-md-4">
        <div class="input-group">
            <span class="input-group-addon">朝向</span>
            <select name="faceto" id="faceto" class="form-control">
                <option value="不限" selected="selected">不限</option>
                <option value="其他">其他</option>
                <option value="东">东</option>
                <option value="南">南</option>
                <option value="西">西</option>
                <option value="北">北</option>
                <option value="东西">东西</option>
                <option value="南北">南北</option>
                <option value="南南">南南</option>
                <option value="东南">东南</option>
                <option value="东北">东北</option>
                <option value="西南">西南</option>
                <option value="西北">西北</option>
            </select>
        </div>
    </div>
    <div class="col-md-8">
        <div class="input-group">
            <span class="input-group-addon">户型</span>
            <select name="bedroom" id="bedroom" class="form-control">
                <option value="-1" selected="selected">不限</option>
                <option value="0">0</option>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
                <option value="5">5</option>
                <option value="6">6</option>
                <option value="7">7</option>
                <option value="8">8</option>
            </select>
            <span class="input-group-addon">室</span>
            <select name="hall" id="hall" class="form-control">
                <option value="-1" selected="selected">不限</option>
                <option value="0">0</option>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
            </select>
            <span class="input-group-addon">厅</span>
            <select name="bathroom" id="bathroom" class="form-control">
                <option value="-1" selected="selected">不限</option>
                <option value="0">0</option>
                <option value="1">1</option>
                <option value="2">2</option>
                <option value="3">3</option>
                <option value="4">4</option>
            </select>
            <span class="input-group-addon">卫</span>
        </div>
    </div>
</div>
<br>
<div class="row form-group">
    <div class="col-md-6">
        <div class="input-group">
            <span class="input-group-addon">客源备注</span>
            <textarea name="origin_remark" id="origin_remark" rows="5" cols="50" class="form-control">{{ result.origin_remark }}</textarea>
        </div>
    </div>
</div>