57 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| @extends('themes.default1.admin.layout.admin')
 | |
| 
 | |
| @section('Themes')
 | |
| class="active"
 | |
| @stop
 | |
| 
 | |
| @section('theme-bar')
 | |
| active
 | |
| @stop
 | |
| 
 | |
| @section('footer3')
 | |
| class="active"
 | |
| @stop
 | |
| 
 | |
| @section('content')
 | |
| <!-- open a form -->
 | |
| 	{!! Form::model($footer3,['url' => 'post-create-footer3/'.$footer3->id, 'method' => 'PATCH','files'=>true]) !!}
 | |
| <div class="box box-primary">
 | |
|     <div class="box-header">
 | |
|         <h4 class="box-title">{!! Lang::get('lang.footer3') !!}</h4>{!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
 | |
|     </div>
 | |
|     @if(Session::has('success'))
 | |
|         <div class="alert alert-success alert-dismissable">
 | |
|             <i class="fa  fa-check-circle"></i>
 | |
|             <b>Success!</b>
 | |
|             <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
 | |
|             {{Session::get('success')}}
 | |
|         </div>
 | |
|     @endif
 | |
|     <!-- failure message -->
 | |
|     @if(Session::has('fails'))
 | |
|         <div class="alert alert-danger alert-dismissable">
 | |
|             <i class="fa fa-ban"></i>
 | |
|             <b>Fail!</b>
 | |
|             <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
 | |
|             {{Session::get('fails')}}
 | |
|         </div>
 | |
|     @endif
 | |
| 		<!-- Name text form Required -->
 | |
|  		<div class="box-body table-responsive">
 | |
|             <div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
 | |
|                 {!! Form::label('title',Lang::get('lang.title') ) !!}
 | |
|                 {!! $errors->first('title', '<spam class="help-block">:message</spam>') !!}
 | |
|                 {!! Form::text('title',null,['class' => 'form-control']) !!}
 | |
|             </div>
 | |
|             <div class="form-group {{ $errors->has('footer') ? 'has-error' : '' }}">
 | |
|                 {!! Form::label('footer', Lang::get('lang.footer') ) !!}
 | |
|                 {!! $errors->first('footer', '<spam class="help-block">:message</spam>') !!}
 | |
|                 {!! Form::textarea('footer',null,['class' => 'form-control','size' => '30x5','id'=>'footer']) !!}
 | |
|             </div>
 | |
|         </div>
 | |
|         <div class="box-footer">
 | |
|         </div>
 | |
|     </div>
 | |
| </div>
 | |
| @stop
 | 
