summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Admin/DeleteRole.cshtml
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-20 16:45:17 -0400
committerMichael <[email protected]>2017-03-20 16:45:17 -0400
commitcdc61eb4ea5309769ad4db84d92594e4dc3dff67 (patch)
treea8297a7aecc4376f07a497a5e02ab5ff165bfbd3 /Project-Unite/Views/Admin/DeleteRole.cshtml
parentd9f475e1f33bbf39ca0d79d7a6b0c2fd501b4f2d (diff)
downloadproject-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.tar.gz
project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.tar.bz2
project-unite-cdc61eb4ea5309769ad4db84d92594e4dc3dff67.zip
Initial commit (azure deploy test)
Diffstat (limited to 'Project-Unite/Views/Admin/DeleteRole.cshtml')
-rw-r--r--Project-Unite/Views/Admin/DeleteRole.cshtml48
1 files changed, 48 insertions, 0 deletions
diff --git a/Project-Unite/Views/Admin/DeleteRole.cshtml b/Project-Unite/Views/Admin/DeleteRole.cshtml
new file mode 100644
index 0000000..2344d1d
--- /dev/null
+++ b/Project-Unite/Views/Admin/DeleteRole.cshtml
@@ -0,0 +1,48 @@
+@model Project_Unite.Models.Role
+
+@{
+ ViewBag.Title = "Delete";
+}
+
+<h2>Delete</h2>
+
+<h3>Are you sure you want to delete this?</h3>
+<div>
+ <h4>Role</h4>
+ <hr />
+ <dl class="dl-horizontal">
+ <dt>
+ @Html.DisplayNameFor(model => model.Name)
+ </dt>
+
+ <dd>
+ @Html.DisplayFor(model => model.Name)
+ </dd>
+
+ <dt>
+ @Html.DisplayNameFor(model => model.Description)
+ </dt>
+
+ <dd>
+ @Html.DisplayFor(model => model.Description)
+ </dd>
+
+ <dt>
+ @Html.DisplayNameFor(model => model.ColorHex)
+ </dt>
+
+ <dd>
+ @Html.DisplayFor(model => model.ColorHex)
+ </dd>
+
+ </dl>
+
+ @using (Html.BeginForm()) {
+ @Html.AntiForgeryToken()
+
+ <div class="form-actions no-color">
+ <input type="submit" value="Delete" class="btn btn-default" /> |
+ @Html.ActionLink("Back to List", "Index")
+ </div>
+ }
+</div>