@model HelloWorldMvcApp.SampleViewModel
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap 101 Template</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
.field-validation-error {
<div class="col-md-6 col-md-offset-3">
@using (Html.BeginForm("Division", "Home", FormMethod.Post))
@Html.TextBoxFor(model => model.divArg1)
@Html.TextBoxFor(model => model.divArg2)
<button type="submit">=</button>
<input type="ratio" name="DivResult" value="@ViewBag.DivRes">
@using (Html.BeginForm("Module", "Home", FormMethod.Post))
@Html.TextBoxFor(model => model.module)
@Html.ValidationMessageFor(model => model.module)
<button type="submit">=</button>
<input type="ratio" name="ModResult" value="@ViewBag.Mod">
@using (Html.BeginForm("Tangens", "Home", FormMethod.Post))
@Html.TextBoxFor(model => model.tangens)
@Html.ValidationMessageFor(model => model.tangens)
<button type="submit">=</button>
<input type="ratio" name="TanResult" value="@ViewBag.Tan">