PHP Classes

File: src/stubs/views/partials/fields/edit/array-option.blade.php.stub

Recommend this page to a friend!
  Classes of TJ Webb   Laravel CRUD Generator   src/stubs/views/partials/fields/edit/array-option.blade.php.stub   Download  
File: src/stubs/views/partials/fields/edit/array-option.blade.php.stub
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel CRUD Generator
Generate MVC classes for any Laravel model
Author: By
Last change:
Date: 4 years ago
Size: 405 bytes
 

Contents

Class file image Download
<div> <input id="{FIELD_MACHINE_NAME}-{FIELD_OPTION_MACHINE}" type="checkbox" name="{FIELD_MACHINE_NAME}[]" value="{FIELD_OPTION}" {{in_csv('{FIELD_OPTION}', {MODEL_VARIABLE}) ? 'checked' : ''}} /> <label for="{FIELD_MACHINE_NAME}-{FIELD_OPTION_MACHINE}">{FIELD_OPTION}</label> </div>