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