@extends('layouts.app') @section('content')

@lang('smstemplates::global.smstemplates.title')

{!! Form::open(['method' => 'POST', 'route' => ['admin.smstemplates.store'],'class'=>'formvalidation']) !!}
@lang('global.app_create')
{!! Form::label('title', trans('smstemplates::global.smstemplates.fields.title').'*', ['class' => 'control-label form-label']) !!}
{!! Form::text('title', old('title'), ['class' => 'form-control', 'placeholder' => 'Title', 'required' => '']) !!}

@if($errors->has('title'))

{{ $errors->first('title') }}

@endif
{!! Form::label('key', trans('smstemplates::global.smstemplates.fields.key').'*', ['class' => 'control-label form-label']) !!}
{!! Form::text('key', old('key'), ['class' => 'form-control', 'placeholder' => 'Key', 'required' => '']) !!}

@if($errors->has('key'))

{{ $errors->first('key') }}

@endif
{!! Form::label('content', trans('smstemplates::global.smstemplates.fields.content').'*', ['class' => 'control-label']) !!} {!! Form::textarea('content', old('content'), ['class' => 'form-control ', 'placeholder' => 'Content', 'required' => '','rows'=>'4']) !!}

@if($errors->has('content'))

{{ $errors->first('content') }}

@endif
{!! Form::submit(trans('global.app_save'), ['class' => 'btn btn-danger wave-effect']) !!} {!! Form::close() !!} @stop