@extends('layouts.master') @section('page_title', 'Article Taxonomy') @section('content')
{{ Form::page_header('Article Taxonomy', 'sourcedata') }} {{ Form::hidden('post_arrange_url', action('TaxonomyController@update_sort', compact('taxonomy')), ['id' => 'post_arrange_url'] ) }}
{{ Form::button_ex('ADD A Taxonomy', 'add_item()', 'add-btn') }}
{!! Form::open(['url' => action('TaxonomyController@store')]) !!} {{ Form::row_text_inline('taxonomy_name', 'Taxonomy Name', null, 2, 4, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::button_save() }} {{ Form::button_ex('Cancel', 'cancel_item()', 'cancel-btn') }}
{!! Form::close() !!}
{{--TODO do we maybe just want to roll them all up? --}} {{--
{{ Form::label_title($taxonomy->taxonomy_name, \App\Helpers\FormComponentHelper::SIZE_LARGE) }}
--}} {{--
    --}}
      @foreach($taxonyms as $taxonomy)
    1. @include('super_admin.taxonomy._taxonomy', ['taxonomy' => $taxonomy]) @if($taxonomy->has_children()) @include('super_admin.taxonomy._taxonomy_children', ['children' => $taxonomy->get_children()]) @endif
    2. @endforeach
{{--
--}} {{--{{ Form::button_link('Edit', str_replace('XXX', $website_nav->website_nav, $edit_url)) }}--}} {{--
--}} {{--
--}} {{--{{ Form::button_link('Create Sub Nav', $create_url) }}--}} {{--
--}}
@endsection @section('page_script') @include('shared_script._nested_sortable') @endsection @section('page_style') @endsection