@extends('admin.layouts.modal') {{-- Content --}} @section('content') {{-- Edit Content Form --}}
@if (!empty($attribute_type)) @endif
{{ $errors->first('name', ':message') }}
@if ($errors->has('slug'))
{{ $errors->first('slug', ':message') }}
@endif
{{ $errors->first('description', ':message') }}
@if ($attribute_type->slug === 'sidebar')
{{ $errors->first('default', ':message') }}
@if (!empty($icons))
@if(isset($attribute) && !empty($attribute->icon)) Current Icon: {{ strip_tags($attribute->name) }} @endif {{ $errors->first('icon', ':message') }}
@endif @else @endif
{{ (isset($attribute) ? 'Close' : 'Cancel') }} @if (isset($attribute)) Delete
@endif
@stop