@extends('layouts.dashboard.main')
{{-- content --}}
@section('content')
{!! Form::open($form) !!}
{{-- nav --}}
@include('layouts.dashboard.components.application.nav')
{{-- alert --}}
{{-- /.alert --}}
@for($i = 0; $i < Session::get('application.wifi.count'); $i++)
@foreach($device_list as $key => $value)
{!! Form::radio("wifi[device][{$i}]", $key, ($key == 1) ? true : false, [
'class' => 'btn-check',
'id' => "device{$i}-{$key}",
]) !!}
@endforeach
@foreach($usage_list as $key => $value)
{!! Form::radio("wifi[usage][{$i}]", $key, ($key == 1) ? true : false, [
'class' => 'btn-check',
'id' => "usage{$i}-{$key}",
]) !!}
@endforeach
{!! Form::select("wifi[staff][{$i}]", [0=>'共有'] + $staff_list, null, [
'class' => 'form-select',
]) !!}
@for($key = 1; $key >= 0; $key--)
{!! Form::radio("wifi[provided][{$i}]", $key, ($key == 1) ? true : false, [
'class' => 'btn-check',
'id' => "provided{$i}-{$key}",
]) !!}
@endfor
No.
{!! Form::text("wifi[device_number][{$i}]", '', [
'class' => 'form-control',
'placeholder' => '1234',
]) !!}
@for($key = 1; $key >= 0; $key--)
{!! Form::radio("wifi[submitted][{$i}]", $key, ($key == 1) ? true : false, [
'class' => 'btn-check',
'id' => "submitted{$i}-{$key}",
]) !!}
@endfor
@endfor
{!! Form::textarea('wifi[remark]', '', [
'class' => 'form-control',
'rows' => 6,
]) !!}
{!! Form::close() !!}
@endsection
{{-- css --}}
@section('css')
@stop
{{-- js --}}
@section('js')
@stop