Created
September 17, 2016 00:45
-
-
Save achmadfatoni/cc59fe7c5391ffd20a85f9298b2c5940 to your computer and use it in GitHub Desktop.
create.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extends('app') | |
@section('content') | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-4 col-md-offset-4"> | |
<div class="panel panel-default"> | |
<div class="panel-heading">Todo List</div> | |
<div class="panel-body"> | |
<form role="form" method="POST" action="{{ url('/todos') }}"> | |
{{ csrf_field() }} | |
<div class="form-group"> | |
<label class="control-label">Name</label> | |
<input type="text" name="name" class="form-control"> | |
</div> | |
<div class="form-group"> | |
<button type="submit" class="btn btn-primary">Add Todo</button> | |
</div> | |
</form> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
@endsection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment