PHP Classes

File: aksara/Views/components/form/select.twig

Recommend this page to a friend!
  Classes of Aby Dahana   Aksara   aksara/Views/components/form/select.twig   Download  
File: aksara/Views/components/form/select.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change:
Date: 1 month ago
Size: 353 bytes
 

Contents

Class file image Download
<select name="{{ name }}" role="select" data-relation="{{ relation }}" class="form-control {{ class }}" id="{{ name }}_input" placeholder="{{ placeholder }}" {{ readonly }}> {% for option in content %} <option value="{{ option.value }}" {% if option.selected %} selected {% endif %}>{{ option.label }}</option> {% endfor %} </select>