Skip to content

Instantly share code, notes, and snippets.

@bellons91
Created March 21, 2022 11:37
Show Gist options
  • Save bellons91/1be3e1d614c8f3108d0924f1b6fa154e to your computer and use it in GitHub Desktop.
Save bellons91/1be3e1d614c8f3108d0924f1b6fa154e to your computer and use it in GitHub Desktop.
<div class="container">
<main role="main" class="pb-3">
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>
<div class="container-fluid ">
<form method="post">
<div class="form-row">
<fieldset class="border p-2 col-6">
<legend class="w-auto">A pizza for you</legend>
<div class="mb-3">
<select class="form-select" id="MyOrder_Pizze_0__Name" name="MyOrder.Pizze[0].Name"><option>Margherita</option>
<option>Quattro stagioni</option>
<option>Valdostana</option>
<option>Diavola</option>
</select>
</div>
<div class="mb-3">
<div class="form-check">
<input class="form-check-input" type="checkbox" data-val="true" data-val-required="The UseWholemealFlour field is required." id="MyOrder_Pizze_0__UseWholemealFlour" name="MyOrder.Pizze[0].UseWholemealFlour" value="true">
<label class="form-check-label" for="MyOrder_Pizze_0__UseWholemealFlour">UseWholemealFlour</label>
</div>
</div>
</fieldset>
</div>
<div class="form-row">
<fieldset class="border p-2 col-6">
<legend class="w-auto">A pizza for another one</legend>
<div class="mb-3">
<select class="form-select" id="MyOrder_Pizze_1__Name" name="MyOrder.Pizze[1].Name"><option>Margherita</option>
<option>Quattro stagioni</option>
<option>Valdostana</option>
<option>Diavola</option>
</select>
</div>
<div class="mb-3">
<div class="form-check">
<input class="form-check-input" type="checkbox" data-val="true" data-val-required="The UseWholemealFlour field is required." id="MyOrder_Pizze_1__UseWholemealFlour" name="MyOrder.Pizze[1].UseWholemealFlour" value="true">
<label class="form-check-label" for="MyOrder_Pizze_1__UseWholemealFlour">UseWholemealFlour</label>
</div>
</div>
</fieldset>
</div>
<button type="submit" class="btn btn-primary">Order!</button>
<input name="__RequestVerificationToken" type="hidden" value="CfDJ8NZfDhE21upAmqwI-1iO3niUWqzaW8enpD1S-EysYdIcheDUfh6SPrSxOz6QiaFqNl5AlFg0sVzfqmuIJgS3VpZg8D3P1_y5YFphIBQyPiWGeeiKRa6ceN51s25otue8UZ2LBoyk6KpdH6qwnOQAB6k"><input name="MyOrder.Pizze[0].UseWholemealFlour" type="hidden" value="false"><input name="MyOrder.Pizze[1].UseWholemealFlour" type="hidden" value="false"></form>
</div>
</main>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment