WP File Manager
Current Path:
/
home
/
itutorethiopia
/
public_html
/
resources
/
views
/
blogcategories
/
Name
Action
..
form.blade.php
Edit
index.blade.php
Edit
view.blade.php
Edit
Editing: form.blade.php
@extends('layouts.app') @section('content') <div class="page-content row"> <!-- Page header --> <div class="page-header"> <div class="page-title"> <h3> {{ $pageTitle }} <small>{{ $pageNote }}</small></h3> </div> <ul class="breadcrumb"> <li><a href="{{ URL::to('dashboard') }}">{{ Lang::get('core.dashboard') }}</a></li> <li><a href="{{ URL::to('blogcategories?return='.$return) }}">{{ $pageTitle }}</a></li> <li class="active">{{ Lang::get('core.addedit') }} </li> </ul> </div> <div class="page-content-wrapper"> @if(Session::has('message')) {!! Session::get('message') !!} @endif <div class="sbox animated fadeInRight"> <div class="sbox-title"> <h4> <i class="fa fa-table"></i> {{ $pageTitle }} </a> </h4></div> <div class="sbox-content"> <ul class="parsley-error-list"> @foreach($errors->all() as $error) <li>{!! $error !!}</li> @endforeach </ul> @php($id = ($row['CatID'] !='') ? SiteHelpers::encryptID($row['CatID']) : $row['CatID']) {!! Form::open(array('url'=>'blogcategories/save/'.$id.'?return='.$return, 'class'=>'form-horizontal','files' => true , 'parsley-validate'=>'','novalidate'=>' ')) !!} <div class="col-md-12"> <div class="form-group hidethis " style="display:none;"> <label for="CatID" class=" control-label col-md-4 text-left"> {!! Lang::get('core.CatID') !!} <span class="text-danger">*</span></label> <div class="col-md-8"> {!! Form::text('CatID', $row['CatID'],array('class'=>'form-control', 'placeholder'=>'', )) !!} </div> </div> <div class="form-group " > <label for="Name" class=" control-label col-md-4 text-left"> {!! Lang::get('core.Name') !!} <span class="text-danger">*</span></label> <div class="col-md-8"> {!! Form::text('name', $row['name'],array('class'=>'form-control', 'placeholder'=>'', 'required'=>'true', 'parsley-minlength'=>'6' )) !!} </div> </div> <div class="form-group " > <label for="Enable" class=" control-label col-md-4 text-left"> {!! Lang::get('core.Enable') !!} <span class="text-danger">*</span></label> <div class="col-md-8"> <label class='radio radio-inline'> <input type='radio' name='enable' value ='0' checked="checked" @if($row['enable'] == '0') checked="checked" @endif > {!! Lang::get('core.No') !!}</label> <label class='radio radio-inline'> <input type='radio' name='enable' value ='1' @if($row['enable'] == '1') checked="checked" @endif > {!! Lang::get('core.Yes') !!}</label> </div> </div> </div> <div style="clear:both"></div> <div class="form-group"> <label class="col-sm-4 text-right"> </label> <div class="col-sm-8"> <button type="submit" name="apply" class="btn btn-info btn-sm" ><i class="fa fa-check-circle"></i> {{ Lang::get('core.sb_apply') }}</button> <button type="submit" class="btn btn-primary "> {!! Lang::get('core.sb_save') !!} </button> <button type="button" onclick="location.href='{{ URL::to('blogcategories?return='.$return) }}' " id="submit" class="btn btn-success "> {!! Lang::get('core.sb_cancel') !!} </button> </div> </div> {!! Form::close() !!} </div> </div> </div> </div> <script type="text/javascript"> $(document).ready(function() { }); </script> @stop