Skip to content

Instantly share code, notes, and snippets.

@ztirom
Last active March 6, 2016 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ztirom/96bf062e6b8f90575e8d to your computer and use it in GitHub Desktop.
Save ztirom/96bf062e6b8f90575e8d to your computer and use it in GitHub Desktop.
@{
ViewBag.Title = "Index";
}
<hr />
@using (Html.BeginForm("AddDevice", "Home",
FormMethod.Post, new { enctype = "multipart/form-data" }))
{
<div class="form-horizontal">
<div class="form-group">
<label class="control-label col-md-2">Add device</label>
<div class="col-md-10">
<input class="form-control" id="id" name="id" />
</div>
</div>
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="Add Device" class="btn btn-success" />
</div>
</div>
</div>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment