@extends('layouts.master') @section('page_title', 'Edit Parent Theme') @section('content')
{{ Form::page_header("Edit Parent Theme", "sourcedata") }}
{{ Form::button_link('Back', action('SuperAdminSourceDataController@show_parent_themes'), 'back_btn') }}
{!! Form::model($parent_theme, ['url' => action('SuperAdminSourceDataController@post_parent_theme_edit', compact('parent_theme'))]) !!}

{{ Form::label_styled('Parent Theme Name:', 'source-data-label', \App\Helpers\FormComponentHelper::SIZE_LARGE) }} {{ Form::text_styled('theme_name', null, 'account-pages-text-input md-lg', null) }} {{ Form::hidden("active", 0) }} {{ Form::checkbox_styled('active', null, 'Active', null, 'source-data-check') }}
{{ Form::button_save('Update Parent Theme') }}
{!! Form::close() !!}
{{ Form::button_link('Add a New Child Theme', action('SuperAdminSourceDataController@child_theme_create', compact('parent_theme'))) }}
@if(sizeof($data) == 1 && sizeof($data[0]) == 0)
@else @include('shared.grids._grid_table') @endif
@endsection @section('page_style') @endsection