@model Lightcast.Presentation.Models.Aspect

<br class="space" />
<ul class="clearfix">
	<li>
		@Html.LabelFor(model => model.Classification)
		@Html.RulesFor(model => model.Classification)
		@(
			Html.EnumTagFor( model => model.Classification )
				.Name("Classification").Id("Classification")
				.Bind("value", "Classification")
				.Validation()
				.ToHtml()
		)
	</li>
	<li>
		@Html.LabelFor(model => model.Archetype)
		@Html.RulesFor(model => model.Archetype)
		@(
			Html.EnumTagFor( model => model.Archetype )
				.Name("Archetype").Id("Archetype")
				.Bind("value", "Archetype")
				.Validation()
				.ToHtml()
		)
	</li>
</ul>
<br class="space" />
<ul class="clearfix">
	<li>
		@Html.LabelFor(model => model.Name)
		@Html.RulesFor(model => model.Name)
		@(
			Html.TagFor( model => model.Name )
				.Of("input").Type("text")
				.Name("Name").Id("Name")
				.Attribute("size", "45")
				.Bind("value", "Name")
				.Bind("uniqueName", "true")
				.Validation()
				.ToHtml()
		)
	</li>
</ul>
<br class="space" />
<br class="space" />
<div>
	@Html.LabelFor(model => model.Description)
	@Html.RulesFor(model => model.Description)
	@(
		Html.MarkdownEditorFor( model => model.Description )
			.Preview("aspectPreview")
			.Of("textarea")
			.Id("Description").Name("Description")
			.Attribute("cols", "50")
			.Attribute("rows", "10")
			.Bind("value", "Description")
			.Validation()
			.ToHtml()
	)
</div>