@extends ('backend.layouts.app') @section ('title', 'Create Tool') @section('after-styles') @endsection @section('page-header')

Modules Management Create Tool

@endsection @section('content') {{ Form::open(['route' => 'admin.modules.tool.store', 'enctype' => "multipart/form-data", 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'post', 'id' => 'create-tool']) }}

Create Tool

@include('backend.modules.includes.partials.tool-header-buttons')
{{ Form::label('Image', 'Choose image', ['class' => 'col-lg-2 control-label']) }}
{{ Form::file('image', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Choose image']) }}
{{ Form::label('title', 'Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('title', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Enter title']) }}
{{ Form::label('description', 'Description', ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea('description', null, ['class' => 'form-control', 'id' => 'description', 'required' => 'required', 'placeholder' => 'Enter description']) }}
{{ Form::label('pdf_file', 'Choose PDF File', ['class' => 'col-lg-2 control-label']) }}
{{ Form::file('pdf_file', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => 'Choose image']) }}
{{ Form::label('publish_date', 'Publish Date', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('publish_date', null, ['class' => 'form-control', 'id' => 'datepicker', 'required' => 'required', 'placeholder' => 'Choose publish date']) }}
{{ Form::label('category', 'Select Category', ['class' => 'col-lg-2 control-label']) }}
{{ Form::label('Active', 'Active', ['class' => 'col-lg-2 control-label']) }}
{{ link_to_route('admin.modules.tool.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-xs']) }}
{{ Form::submit(trans('buttons.general.crud.create'), ['class' => 'btn btn-success btn-xs']) }}
{{ Form::close() }} @endsection @section('after-scripts') @endsection