Skip to content

Commit

Permalink
Correct HTML in Create.cshtml
Browse files Browse the repository at this point in the history
- #49
- `<div>`, `<label>` and `<span>` should always be written with end tags

nit: let VS have its way with `_references.js` file
  • Loading branch information
dougbu committed Oct 24, 2015
1 parent 517a823 commit d5f8910
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

<form asp-controller="Blogs" asp-action="Create" method="post" class="form-horizontal" role="form">
<div class="form-horizontal">
<div asp-validation-summary="ValidationSummary.All" class="text-danger" />
<div asp-validation-summary="ValidationSummary.All" class="text-danger" ></div>
<div class="form-group">
<label asp-for="Url" class="col-md-2 control-label" />
<label asp-for="Url" class="col-md-2 control-label"></label>
<div class="col-md-10">
<input asp-for="Url" class="form-control" />
<span asp-validation-for="Url" class="text-danger" />
<span asp-validation-for="Url" class="text-danger" ></span>
</div>
</div>
<div class="form-group">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/// <autosync enabled="true" />
/// <reference path="../gulpfile.js" />
/// <reference path="lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js" />
/// <reference path="lib/jquery-validation/jquery.validate.js" />
/// <reference path="lib/jquery/dist/jquery.js" />
/// <reference path="lib/hammer.js/hammer.js" />
/// <reference path="js/site.js" />
/// <reference path="lib/bootstrap/dist/js/bootstrap.js" />
/// <reference path="lib/bootstrap-touch-carousel/dist/js/bootstrap-touch-carousel.js" />
/// <reference path="js/site.js" />
/// <reference path="lib/hammer.js/hammer.js" />
/// <reference path="lib/jquery/dist/jquery.js" />
/// <reference path="lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js" />

0 comments on commit d5f8910

Please sign in to comment.