Viewing file: edit.blade.php (1.48 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
{{ Form::model($formBuilder, array('route' => array('form_builder.update', $formBuilder->id), 'method' => 'PUT')) }} <div class="modal-body"> <div class="row"> <div class="col-12 form-group"> {{ Form::label('name', __('Name'),['class'=>'form-label']) }} {{ Form::text('name', null, array('class' => 'form-control','required' => 'required')) }} </div> <div class="col-12 form-group"> <label for="exampleColorInput" class="form-label">{{__('Active')}}</label> <div class="d-flex radio-check"> <div class="form-check form-check-inline"> <input type="radio" id="on" value="1" name="is_active" class="form-check-input" {{($formBuilder->is_active == 1) ? 'checked' : ''}}> <label class="custom-control-label form-label" for="on">{{__('On')}}</label> </div> <div class="form-check form-check-inline"> <input type="radio" id="off" value="0" name="is_active" class="form-check-input" {{($formBuilder->is_active == 0) ? 'checked' : ''}}> <label class="custom-control-label form-label" for="off">{{__('Off')}}</label> </div> </div> </div> </div> </div> <div class="modal-footer"> <input type="button" value="{{__('Cancel')}}" class="btn btn-light" data-bs-dismiss="modal"> <input type="submit" value="{{__('Create')}}" class="btn btn-primary"> </div> {{Form::close()}}
|