<form class="form-place" ng-submit="processPlaceData()">
	<div class="edit-group">
		<label for="place-title">Location</label>
		<button type="button" class="add-location single add-place-location" text="Add Map Location" ng-hide="place.location.geolat">Add Map Location</button>
		<div class="edit-place-location-wrapper" data-place-id={{place.id}} ng-show="place.location.geolat">
			<div class="place-geo-coords yellow" data-lat={{place.location.geolat}} data-lng={{place.location.geolng}}><i class="fa fa-globe"></i> <span class="geolat">{{ place.location.geolat }}</span>, <span class="geolng">{{ place.location.geolng }}</span></div>
			<div class="edit-place-info">Drag Marker To Set Position</div>
		</div>	
		<div class="error-message yellow" ng-show="messageLocation && !place.location.geolat"><i class="fa fa-exclamation-triangle"></i> {{ messageLocation }}</div>
	</div>
	<div class="edit-group">
		<label for="place-title">Place</label>
		<input type="text" class="edit-text" placeholder="Place Name" ng-model="place.name" />
		<div class="error-message yellow" ng-show="messageName && !place.name"><i class="fa fa-exclamation-triangle"></i> {{ messageName }}</div>
	</div>
	<div class="edit-group">
		<label for="place-notes">Notes</label>
		<textarea placeholder="Place Notes" ng-model="place.notes"></textarea>
	</div>
	<div class="edit-group">
		<label for="place-area">Area</label>
		<select class="edit-select" ng-model="place.area.id" ng-options="area.id as area.name for area in trip.areas">

		</select>
		<div class="error-message yellow" ng-show="messageArea"><i class="fa fa-exclamation-triangle"></i> {{ messageArea }}</div>
	</div>
	<div class="edit-group">
		<label for="place-type">Type</label>
		<select class="edit-select" ng-model="place.type.id" ng-options="type.id as type.name for type in trip.types">
		</select>
		<div class="error-message yellow" ng-show="messageType"><i class="fa fa-exclamation-triangle"></i> {{ messageType }}</div>
	</div>
	<div class="edit-group">
		<label for="place-link">Links<span class="icon-add" ng-click="addLink()"><i class="fa fa-plus-circle yellow" title="Add New Link"></i></span></label>
		<div class="edit-link-group" ng-repeat="link in place.links" ng-include="'templates/form-link-entry.html'">
		</div>
	</div>
	<div class="edit-group">
		<label for="place-attachment">Attachments<span class="icon-add" ng-click="addAttachment()"><i class="fa fa-plus-circle yellow" title="Add New Attachment"></i></span></label>
		<div class="edit-link-group" ng-repeat="attachment in place.attachments" ng-include="'templates/form-attachment-entry.html'">
		</div>
	</div>
	<ul class="menu-2 menu-thick form-full-width form-bottom">
		<li class="cancel-place-form" data-id={{place.id}} data-oldlat={{original.geolat}} data-oldlng={{original.geolng}}>Cancel<span class="icon-cancel"><i class="fa fa-times-circle yellow" title="cancel"></i></span></li>
		<li><button type="submit" class="no-style">Save<span class="icon-complete"><i class="fa fa-check-circle"></i></span></button></li>
		<div class="submit-status normal"><span>Status</span></div>
		<div class="submit-status complete"><span>Place Saved</span> <i class="fa fa-check-circle"></i></div>
	</ul>
</form>