## $Header: /cvs/sakai2/legacy/tools/src/webapp/vm/admin/chef_aliases_edit.vm,v 1.2 2005/05/24 19:36:12 gsilver.umich.edu Exp $
<script type="text/javascript" language="JavaScript">
  focus_path = [#if(!$alias)"id"#else"target"#end];
</script>
<div class="portletBody">
#if($menu)
	#toolbar($menu)
#end
		<form name="$form-name" action="#toolForm("$action")" method="post">
			<h3>
				$tlang.getString("alias.edit.alias")
			</h3>	
		#if ($alertMessage)<div class="alertMessage">$tlang.getString("alias.edit.alert") $validator.escapeHtml($alertMessage)</div>#end
			<div class="instruction">
				$tlang.getString("alias.edit.review")
			</div>
			<p class="shorttext required">
				#if(!$alias)<span class="reqStar">*</span>#end 
				<label #if(!$alias) for="id" #end>
					$tlang.getString("alias.edit.alias1")
				</label>
				#if(!$alias)<input type="text" name="id" id="id" />#else$validator.escapeHtml($alias.Id)#end
			</p>	
			<p class="shorttext">
				<label for="target">
					$tlang.getString("alias.edit.target")
				</label>
				<input type="text" name="target" id="target" #if($alias)value="$validator.escapeHtml($alias.Target)"#end />
			</p>	
#if ($alias)
					<p class="shorttext">
						<label>$tlang.getString("alias.edit.createdby")</label>
						$validator.escapeHtml($alias.Properties.getPropertyFormatted($alias.Properties.NamePropCreator))&nbsp;
					</p>
					
					<p class="shorttext">
						<label>$tlang.getString("alias.edit.created")</label>
						$validator.escapeHtml($alias.Properties.getPropertyFormatted($alias.Properties.NamePropCreationDate))&nbsp;
					</p>	
					<p class="shorttext">
						<label>$tlang.getString("alias.edit.modby")</label>
						$validator.escapeHtml($alias.Properties.getPropertyFormatted($alias.Properties.NamePropModifiedBy))&nbsp;
					</p>
					<p class="shorttext">
						<label>$tlang.getString("alias.edit.mod")</label>
						$validator.escapeHtml($alias.Properties.getPropertyFormatted($alias.Properties.NamePropModifiedDate))&nbsp;
					</p>	
#end
			<div class="act">
				<input type="submit" class="active"  name="eventSubmit_doSave" value="$tlang.getString("alias.edit.save")" accesskey="s" />
				<input type="submit" name="eventSubmit_doCancel" value="$tlang.getString("alias.edit.cancel")" accesskey="x" />
			</div>
		</form>
	</div>

