Files
faveo/resources/views/themes/default1/agent/kb/settings/side1.blade.php
2016-01-27 19:46:55 +05:30

75 lines
2.2 KiB
PHP

@extends('themes.default1.agent.layout.agent')
@extends('themes.default1.agent.layout.sidebar')
@section('widget')
active
@stop
@section('side1')
class="active"
@stop
@section('content')
{!! Form::model($side,['url' => 'side1/'.$side->id, 'method' => 'PATCH','files'=>true]) !!}
<!-- <div class="form-group {{ $errors->has('company_name') ? 'has-error' : '' }}"> -->
<!-- table -->
<div class="box box-primary">
@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">&times;</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">&times;</button>
{{Session::get('fails')}}
</div>
@endif
<div class="box-header">
<h3 class="box-title">{{Lang::get('lang.sidewidget1')}}</h3> {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}
</div>
<div class="box-body">
<div class="row">
<div class="col-md-10">
<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('content') ? 'has-error' : '' }}">
{!! Form::label('content',Lang::get('lang.content')) !!}
{!! $errors->first('content', '<spam class="help-block">:message</spam>') !!}
{!! Form::textarea('content',null,['class' => 'form-control','size' => '128x10','id'=>'footer','placeholder'=>Lang::get('lang.enter_the_description')]) !!}
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
$("textarea").wysihtml5();
});
</script>
@stop
@section('FooterInclude')
@stop