{!! Form::select('topic[dtb_thread_id]', $thread_list, $thread['dtb_thread_id'], [
'class' => 'form-select',
]) !!}
{!! Form::text('topic[topic_title]', (isset($topic)) ? $topic['topic_title'] : '', [
'class' => 'form-control',
]) !!}
{!! Form::number('topic[seq]', (isset($topic)) ? $topic['seq'] : '', [
'class' => 'form-control',
]) !!}
{!! Form::textarea('topic[remark]', (isset($topic)) ? $topic['remark'] : '', [
'class' => 'form-control',
'rows' => '4',
]) !!}
@for($i = 0; $i <= 1; $i++)
{!! Form::radio('topic[is_share]', $i, (isset($topic)) ? (($i == $topic['is_share']) ? true : false) : (($i == 0) ? true : false), [
'class' => 'btn-check',
'id' => "is_share{$i}",
]) !!}
@endfor
@for($i = 0; $i <= 1; $i++)
{!! Form::radio('topic[is_disabled]', $i, (isset($topic)) ? (($i == $topic['is_disabled']) ? true : false) : (($i == 0) ? true : false), [
'class' => 'btn-check',
'id' => "is_disabled{$i}",
]) !!}
@endfor