@if (isset($vehicle))
@if(is_object($vehicle_hp_publish))
{{ Form::open(['route' => "backend.{$department}.vehicle.update_hp_publish" , 'id' => 'vehicle_hp_publish_form', 'name' => 'vehicle_hp_publish_form', 'method' => 'PUT', 'files'=>true]) }}
@else
{{ Form::open(['route' => "backend.{$department}.vehicle.create_hp_publish", 'id' => 'vehicle_hp_publish_form', 'name' => 'vehicle_hp_publish_form', 'method' => 'POST', 'files'=>true]) }}
@endif
@if(strpos($url,'buhin-shosai') !== false)
@include('backend.share.vehicle.form._t_hp_publish_buhin')
@elseif($department === 'parts')
@include('backend.share.vehicle.form._t_hp_publish_parts')
@else
@include('backend.share.vehicle.form._t_hp_publish_other')
@endif
@if(is_object($vehicle_hp_publish))
@else
@endif
{{ Form::close() }}
@else
先に車両情報を登録してください。
@endif