@extends('themes.default1.admin.layout.admin') @section('Settings') class="active" @stop @section('settings-bar') active @stop @section('languages') class="active" @stop @section('HeadInclude') @stop @section('PageHeader') @stop @section('breadcrumbs') @stop @section('content') {!! Form::open(array('url'=>'language/add' , 'method' => 'post', 'files'=>true) )!!}

Add language package {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}

@if(Session::has('success'))

{{Session::get('success')}}

@endif @if(Session::has('fails'))
{{Session::get('fails')}} @if(Session::has('link')) Enable it @endif
@endif
{!! Form::label('language-name',Lang::get('lang.language-name')) !!} {!! Form::text('language-name',null,['placeholder'=>'English','class' => 'form-control']) !!} {!! $errors->first('language-name', ':message') !!}
{!! Form::label('iso-code',Lang::get('lang.iso-code')) !!} {!! Form::text('iso-code',null,['placeholder'=>'en','class' => 'form-control']) !!} {!! $errors->first('iso-code', ':message') !!}
{!! Form::label('File',Lang::get('lang.file')) !!}
{!! Lang::get('lang.upload_file') !!} {!! Form::file('File') !!}
{!! $errors->first('File', ':message') !!}
@stop @section('FooterInclude') @stop