<br />
<div class="row">
    <div class="col-md-12">
        <label for="housename">城市：</label>
        <select id="baseCity" name="baseCity" class="form-control">
            <option value="-1"> 城市</option>
            {% for item in city %}
            <option {{ item.id == result.city_id?"selected":"" }} value="{{ item.id }}">{{ item.value }}</option>
            {% endfor %}
        </select>
        <select id="baseAreaId" name="baseAreaId" class="form-control">
            <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>
        <select id="basePlateId" name="basePlateId" class="form-control">
            <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>
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-12">
        <label for="address">地址：</label>
        <input name="address" type="text" value="{{result.address}}" class="form-control" style="width:80%;">
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-6">
        <label for="address">小区名称：</label>
        <input name="community_name" type="text" value="{{result.community_name}}" class="form-control">
    </div>
    <div class="col-md-6">
        <label for="suite">门牌号码：</label></th>
        <input name="suite" type="text" value="{{result.suite}}" class="form-control">
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-6">
        <label for="floor">楼层：</label>
        <input name="floor"  type="text" value="{{result.floor}}" class="form-control">
    </div>
    <div class="col-md-6">
        <label for="totalFloor">总层：</label>
        <input type="text" name="totalFloor"value="{{result.totalFloor}}" class="form-control">
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-6">
        <label for="faceto">朝向：</label>
        <select name="faceto" class="form-control">
            <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 class="col-md-6">
        <label for="age">建筑年代：</label>
        <select name="age" id="pageAge" class="form-control">
            <option value="未知">未知</option>
        </select>
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-6">
        <label for="from">户型：</label>
        <select name="roomNum" class="form-control">
            <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>
        <label for="roomNum">室</label>
        <select name="livingRoom" class="form-control">
            <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>
        <label for="livingRoom">厅</label>
        <select name="bathRoom" class="form-control">
            <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>
        <label for="bathRoom">卫</label>
        <select name="kitchen" class="form-control">
            <option value="0">0</option>
            <option value="1">1</option>
            <option value="2">2</option>
            <option value="3">3</option>
        </select>
        <label for="kitchen">厨</label>
        <select name="balcony" class="form-control">
            <option value="0">0</option>
            <option value="1">1</option>
            <option value="2">2</option>
            <option value="3">3</option>
        </select>
        <label for="balcony">阳台</label>
    </div>
    <div class="col-md-6">
        <label for="decoration">装修程度：</label>
        <select name="decoration" class="form-control">
            <option value="毛坯">毛坯</option>
            <option value="简单装修">简单装修</option>
            <option value="中等装修">中等装修</option>
            <option value="精装修">精装修</option>
            <option value="豪华装修">豪华装修</option>
        </select>
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-6">
        <label for="baseRoom">建筑类型：</label>
        <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 class="col-md-6">
        <label for="propertyRight">产权：</label>
        <select name="propertyRight" class="form-control">
            <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>
<br />
<div class="row">
    <div class="col-md-6">
        <label for="covered_area">建筑面积：</label>
        <input name="covered_area" type="text" value="{{result.covered_area}}" class="form-control">平方米
    </div>
    <div class="col-md-6">
        <label for="useArea">使用面积：</label>
        <input type="text" name="useArea" value="{{result.useArea}}" class="form-control">平方米
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-6">
        <label for="propertyProof">产证：</label>
        <input type="text" name="propertyProof" value="{{result.propertyProof}}" class="form-control">
    </div>
    <div class="col-md-6">
        <label for="structure">结构：</label>
        <select name="structure" class="form-control">
            <option value="其他">其他</option>
            <option value="框架">框架</option>
            <option value="砖混">砖混</option>
            <option value="剪力">剪力</option>
            <option value="钢混">钢混</option>
            <option value="木混">木混</option>
            <option value="砖木">砖木</option>
        </select>
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-6">
        <input type="checkbox" id="keyCheck" {{ result.key?"checked":"" }} class="form-control">
        <label for="key">钥匙：</label>
        <input type="text" {% if not result.key %} disabled="true" {% endif %} id="key" name="key" value="{{result.key}}" style="width: 10%" class="form-control">
    </div>
    <div class="col-md-6">
        <input type="checkbox" id="garageCheck" {{ result.garage?"checked":"" }} class="form-control">
        <label for="garage">车库：</label>
        <input type="text" {% if not result.garage %}disabled="true"{% endif %} id="garage" name="garage" value="{{result.garage}}" class="form-control">
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-6">
        <label for="entrustDay">委托日：</label>
        <input type="text" name="entrustDay" id="entrustDay" value="{{result.entrustDay}}" class="form-control">
    </div>
    <div class="col-md-6">
        <label for="deadLine">到期日：</label>
        <input name="deadLine" type="text" id="deadLine" value="{{result.deadLine}}" class="form-control">
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-6">
        <label for="street">街道：</label>
        <input type="text" name="street" value="{{result.street}}" class="form-control">
    </div>
    <div class="col-md-6">
        <label for="traffic">交通线路：</label>
        <input name="traffic" type="text" value="{{result.traffic}}" class="form-control" style="width:80%;">
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-6">
        <label for="periphery">周边配套：</label>
        <input name="periphery" type="text" value="{{result.periphery}}" class="form-control">
    </div>
    <div class="col-md-6">
        <label for="location">地域坐标：</label>
        <input name="location" id="location" type="text" value="{{result.location}}" class="form-control">
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-12">
        <label for="matching_facilities">设施：</label>
        <input type="text" name="matching_facilities" value="{{result.matching_facilities}}" class="form-control" style="width:80%;">
    </div>
</div>
<br />
<div class="row">
    <div class="col-md-12">
        <label for="overview">房源点评：</label>
        <textarea name="overview" rows="4" cols="60" class="form-control" >{{result.overview}}</textarea>
    </div>
</div>


