{!! Form::select('parent_id')
-> fromQuery(\Litecms\BinaryTreePlan\Models\BinaryTreeUser::all(), 'name', 'id')
-> label(trans('binary_tree_plan::binary_tree_user.label.parent_id'))
-> placeholder(trans('binary_tree_plan::binary_tree_user.placeholder.parent_id'))!!}
{!! Form::select('child_id')
-> fromQuery(\Litecms\BinaryTreePlan\Models\BinaryTreeUser::all(), 'name', 'id')
-> label(trans('binary_tree_plan::binary_tree_user.label.child_id'))
-> placeholder(trans('binary_tree_plan::binary_tree_user.placeholder.child_id'))!!}
{!! Form::numeric('level')
-> label(trans('binary_tree_plan::binary_tree_user.label.level'))
-> required()
-> placeholder(trans('binary_tree_plan::binary_tree_user.placeholder.level'))!!}
{!! Form::select('leg')
-> options(trans('binary_tree_plan::binary_tree_user.options.leg'))
-> label(trans('binary_tree_plan::binary_tree_user.label.leg'))
-> required()
-> placeholder(trans('binary_tree_plan::binary_tree_user.placeholder.leg'))!!}
{!! Form::select('parent_plan_id')
-> fromQuery(\Litecms\BinaryTreePlan\Models\BinaryTreeUser::all(), 'name', 'id')
-> label(trans('binary_tree_plan::binary_tree_user.label.parent_plan_id'))
-> required()
-> placeholder(trans('binary_tree_plan::binary_tree_user.placeholder.parent_plan_id'))!!}
{!! Form::select('child_plan_id')
-> fromQuery(\Litecms\BinaryTreePlan\Models\BinaryTreeUser::all(), 'name', 'id')
-> label(trans('binary_tree_plan::binary_tree_user.label.child_plan_id'))
-> required()
-> placeholder(trans('binary_tree_plan::binary_tree_user.placeholder.child_plan_id'))!!}