Skip to content

Instantly share code, notes, and snippets.

@jeffandersen jeffandersen/tasks.blade.php Secret

Created Dec 13, 2018
What would you like to do?
<!-- resources/views/tasks.blade.php -->
<!-- ... -->
<!-- New Task Card -->
<div class="card">
<div class="card-body">
<h5 class="card-title">New Task</h5>
<!-- Display Validation Errors -->
<!-- New Task Form -->
<form action="{{ url('task') }}" method="POST">
{{ csrf_field() }}
<!-- Task Name -->
<div class="form-group">
<input type="text" name="name" id="task-name" class="form-control"
placeholder="Task Name">
<!-- Add Task Button -->
<div class="form-group">
<button type="submit" class="btn btn-default">
<i class="fa fa-plus"></i> Add Task
<!-- Current Tasks -->
<!-- ... -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.