From ca5954e7d2b9c2040f6f421816778d8203161563 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 7 May 2017 10:04:12 -0400 Subject: Create group page --- Project-Unite/Views/Groups/CreateGroup.cshtml | 50 +++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Project-Unite/Views/Groups/CreateGroup.cshtml (limited to 'Project-Unite/Views/Groups/CreateGroup.cshtml') diff --git a/Project-Unite/Views/Groups/CreateGroup.cshtml b/Project-Unite/Views/Groups/CreateGroup.cshtml new file mode 100644 index 0000000..3b26f86 --- /dev/null +++ b/Project-Unite/Views/Groups/CreateGroup.cshtml @@ -0,0 +1,50 @@ +@model Project_Unite.Models.GroupViewModel +@{ + ViewBag.Title = "Create a group"; +} + +

Create a group

+ +

This page allows you to create a group. Note that when you create the group, you will leave your current group if you are in one.

+ +@using (Html.BeginForm()) +{ +
+
+ @Html.ValidationSummary() +
+
+ + + @Html.AntiForgeryToken() + + + + + + + + + + + + + + + + + + + + + + + + +
+ Group name: + @Html.TextBoxFor(Model=>Model.Name, new{@class="form-control"})
Short name: +

Your "Short Name" is simply a tag for your group. Think of a neat acronym to go with your group. Something clever that can fit in 4 characters or less.

+
@Html.TextBoxFor(Model=>Model.ShortName, new { @class = "form-control" })
Group description:@Html.TextAreaFor(Model=>Model.Description)
Banner color (hexadecimal):@Html.TextBoxFor(Model=>Model.BannerColorHex, new {@class="form-control"})
Publicity:@Html.DropDownListFor(Model=>Model.Publicity, Model.Publicities, new { @class = "form-control" }) +
+} \ No newline at end of file -- cgit v1.2.3