@extends('layouts.master') @section('title',__('Create Block')) @section('breadcum') @endsection @section('maincontent')
@if ($errors->any()) @endif
{{ __('Back') }}
{{__('Create Block')}}
{!! Form::open(['method' => 'POST', 'action' => 'LandingPageController@store', 'files' => true]) !!}
{!! Form::label('heading', __('Heading')) !!} {!! Form::text('heading', null, ['class' => 'form-control', 'placeholder'=>__('Please Enter Heading')]) !!} {{ $errors->first('heading') }}
{!! Form::label('detail', __('Detail')) !!} {!! Form::textarea('detail', null, ['class' => 'form-control materialize-textarea', 'placeholder'=>__('Please Enter Detail')]) !!} {{ $errors->first('detail') }}
{!! Form::label('button', __('Button')) !!}
{{ $errors->first('button') }}
{!! Form::label('button_link', __('Button Link')) !!}
{!! Form::checkbox('button_link', 1, 1, ['class' => 'custom_toggle']) !!}
{{ $errors->first('button_link') }}
{!! Form::label('button_text', __('ButtonText')) !!} {!! Form::text('button_text', null, ['class' => 'form-control']) !!} {{ $errors->first('button_text') }}
{{__('Image Position')}}
{!! Form::checkbox('left', 1, 1, ['class' => 'custom_toggle']) !!}
{{ $errors->first('left') }}
{!! Form::label('image', 'Image') !!}

{!! Form::file('image', ['class' => 'input-file', 'id'=>'image']) !!}

{{__('ChooseAImage')}}

{{ $errors->first('image') }}
{!! Form::close() !!}
@endsection @section('script') @endsection