1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
@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>