Location: PHPKode > projects > Real Estate Management > admin/forms/admin/properties/list.xml
<form>
	
	<title>Properties</title>
	<width>540</width>
	<border>true</border>
	
	<fields>
		<_count header="No" suffix="." width="30" align="center" />

		<address header="Address" />						

		<type type="relation" header="Type">			
			<relation table="types" id="type_id" text="type_name" />
		</type>

		<area type="relation" header="Area">			
			<relation table="areas" id="area_id" text="area_name" />
		</area>
		<status align="center" width="80"  type="relation" header="Status">			
			<options>
				<option name="1">active</option>
				<option name="0">inactive</option>
			</options>
		</status>

<!--		<price type="price" preffix="$" header="Price" align="right" />-->
	</fields>

	<header>
		<titles>true</titles>
		<buttons>
			<delete onclick="" button="addnew" >
				<location>index.php?sub=properties&action=add</location>
			</delete>
		</buttons>
	</header>

	<buttons>

		<delete onclick="" button="delete" >
			<location>javascript:if(confirm('Are you sure you want to delete this record ?')) window.location='index.php?sub=properties&action=delete&id={ID}&returnURL={CURRENT_PAGE}'</location>
		</delete>

		<details onclick="" button="details" >
			<location>index.php?sub=properties&action=details&id={ID}</location>
		</details>

	</buttons>

	<items>20</items>

</form>
Return current item: Real Estate Management