PHP Classes

File: aksara/Views/components/view/boolean.twig

Recommend this page to a friend!
  Classes of Aby Dahana   Aksara   aksara/Views/components/view/boolean.twig   Download  
File: aksara/Views/components/view/boolean.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: 232 bytes
 

Contents

Class file image Download
<div> <span class="badge {{ value ? 'bg-success' : 'bg-danger' }}"> {% if value %} {{ phrase('Active') }} {% else %} {{ phrase('Inactive') }} {% endif %} </span> </div>