Created
March 8, 2018 01:26
-
-
Save jsdecena/85428c6a6a70811c779c4142d05fe5cd to your computer and use it in GitHub Desktop.
Carousel Create Blade
This file contains hidden or 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('layouts.admin.app') | |
@section('content') | |
<!-- Main content --> | |
<section class="content"> | |
@include('layouts.errors-and-messages') | |
<div class="box"> | |
<div class="box-body"> | |
<form action="{{ route('admin.carousel.store') }}" method="post" enctype="multipart/form-data"> | |
{{ csrf_field() }} | |
<div class="form-group"> | |
<label for="title">Title</label> | |
<input type="text" name="title" id="title" class="form-control" placeholder="Title" value="{{ old('title') }}"> | |
</div> | |
<div class="form-group"> | |
<label for="image">Image</label> | |
<input type="file" name="image" id="image" class="form-control"> | |
</div> | |
<div class="form-group"> | |
<label for="link">Link</label> | |
<div class="input-group"> | |
<span class="input-group-addon">http://</span> | |
<input type="text" name="link" id="link" class="form-control" placeholder="www.example.com" value="{{ old('link') }}"> | |
</div> | |
</div> | |
<div class="btn-group"> | |
<a href="{{ route('admin.carousel.index') }}" class="btn btn-default btn-sm">Back</a> | |
<button type="submit" class="btn btn-primary btn-sm">Create</button> | |
</div> | |
</form> | |
</div> | |
</div> | |
</section> | |
<!-- /.content --> | |
@endsection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment