From dcab3506ca00139f685211e52ef6042518c39bf4 Mon Sep 17 00:00:00 2001 From: James Kolpack Date: Tue, 27 May 2014 20:48:30 -0400 Subject: [PATCH] Add county --- Web/Views/City/Index.cshtml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Web/Views/City/Index.cshtml b/Web/Views/City/Index.cshtml index bac13a0..3307d8b 100644 --- a/Web/Views/City/Index.cshtml +++ b/Web/Views/City/Index.cshtml @@ -22,8 +22,14 @@ @city } - @Html.ActionLink("Add New City", "Create", new {County=countyCities.Key}, new { @class = "btn btn-small" }) + @Html.ActionLink("Add City", "Create", new {County=countyCities.Key}, new { @class = "btn btn-small" })

} + +

Add County

+ @using (Html.BeginForm("Create", "City", FormMethod.Get)){ + @Html.TextBox("County", "", new { @class = "input-medium", style="margin-bottom:0px;"}) + + } \ No newline at end of file