Skip to content

Instantly share code, notes, and snippets.

@Jhhames
Last active February 17, 2019 23:32
Show Gist options
  • Save Jhhames/54f635e8df259915f58649a01a250bfb to your computer and use it in GitHub Desktop.
Save Jhhames/54f635e8df259915f58649a01a250bfb to your computer and use it in GitHub Desktop.
<section class="mt-5">
<div class="container">
<h2 class="title m-b-md text-center">
Laravel
</h2>
<div class="row justify-content-center">
<div class="col-md-6">
<form action="{{ route('form.submit') }}" method="POST">
@csrf
<div class="form-group">
<label for="age">Enter Birth year</label>
<input type="number" class="form-control" name="year" id="age" required>
</div>
<button class=" btn btn-primary btn-block">Submit form</button>
</form>
</div>
</div>
</div>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment