Skip to content

Commit

Permalink
Last hope
Browse files Browse the repository at this point in the history
  • Loading branch information
cwetanow committed May 25, 2017
1 parent 87ab6e8 commit 2b53a7b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Logs.Web/Views/Nutrition/Input.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@
<ul class="list-inline intro-social-buttons">
<li>
@using (Ajax.BeginForm("Load", "Nutrition",
new AjaxOptions { HttpMethod = "POST", InsertionMode = InsertionMode.Replace, UpdateTargetId = "nutrition" },
new { @class = "form-horizontal form col-md-12 center-block", role = "form", id = "nutrition-form" }))
new AjaxOptions { HttpMethod = "POST", InsertionMode = InsertionMode.Replace, UpdateTargetId = "nutrition" },
new { @class = "form-horizontal form col-md-12 center-block", role = "form", id = "nutrition-form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(m => m.Date, new { id = "nutrition-model-date", data_format = "DD/MM/YYYY" })
@Html.TextBoxFor(m => m.Date, new { id = "nutrition-model-date", @type = "hidden" })
<input type="submit" class="btn btn-default btn-lg" value="Nutrition" />
}
</li>
<li>

@using (Ajax.BeginForm("Load", new { controller = "Measurement" },
new AjaxOptions { HttpMethod = "POST", InsertionMode = InsertionMode.Replace, UpdateTargetId = "measurements" },
new { @class = "form-horizontal form col-md-12 center-block", role = "form", id = "measurement-form" }))
new AjaxOptions { HttpMethod = "POST", InsertionMode = InsertionMode.Replace, UpdateTargetId = "measurements" },
new { @class = "form-horizontal form col-md-12 center-block", role = "form", id = "measurement-form" }))
{
@Html.AntiForgeryToken()
@Html.HiddenFor(m => m.Date, new { id = "measurements-model-date", data_format = "DD/MM/YYYY" })
@Html.TextBoxFor(m => m.Date, "{0:dd/MM/yyyy}", new { id = "measurements-model-date", @type = "hidden" })
<input type="submit" class="btn btn-default btn-lg" value="Measurements" />
}
</li>
Expand Down

0 comments on commit 2b53a7b

Please sign in to comment.