@extends('layouts.dashboard.main') {{-- content --}} @section('content') {!! Form::open($form) !!} {!! Form::hidden("appliction_wifi_device[appliction_wifi_device_code]", $appliction_wifi_device['appliction_wifi_device_code']) !!} {{-- nav --}} @include('layouts.dashboard.components.application.nav')
{{-- aside --}} @include('layouts.dashboard.components.application.log.aside') {{-- main --}}
{{-- section --}}
利用端末
@foreach($device_list as $key => $value)
{!! Form::radio("appliction_wifi_device[mtb_device_id]", $key, ($key == $appliction_wifi_device['mtb_device_id']) ? true : false, [ 'class' => 'btn-check', 'id' => "device{$key}", ]) !!}
@endforeach
@foreach($usage_list as $key => $value)
{!! Form::radio("appliction_wifi_device[mtb_usage_id]", $key, ($key == $appliction_wifi_device['mtb_usage_id']) ? true : false, [ 'class' => 'btn-check', 'id' => "usage{$key}", ]) !!}
@endforeach
{!! Form::select("appliction_wifi_device[dtb_staff_id]", [0=>'共有'] + $staff_list, $appliction_wifi_device['dtb_staff_id'], [ 'class' => 'form-select', ]) !!}
@for($key = 1; $key >= 0; $key--)
{!! Form::radio("appliction_wifi_device[is_provided]", $key, ($key == $appliction_wifi_device['is_provided']) ? true : false, [ 'class' => 'btn-check', 'id' => "provided{$key}", ]) !!}
@endfor
No. {!! Form::text("appliction_wifi_device[device_number]", $appliction_wifi_device['device_number'], [ 'class' => 'form-control', 'placeholder' => '1234', ]) !!}
@for($key = 1; $key >= 0; $key--)
{!! Form::radio("appliction_wifi_device[is_submitted]", $key, ($key == $appliction_wifi_device['is_submitted']) ? true : false, [ 'class' => 'btn-check', 'id' => "submitted{$key}", ]) !!}
@endfor
{{-- /.section --}}
{{-- /.main --}}
{{-- btn-fixed --}}
{!! __("lang.button.back") !!}
{{-- /.btn-fixed --}} {!! Form::close() !!} @endsection {{-- css --}} @section('css') @stop {{-- js --}} @section('js') @stop