1
0
Fork 0
mirror of synced 2024-05-06 05:42:35 +12:00
appwrite/app/views/console/database/rules/boolean.phtml
2020-04-20 21:47:26 +03:00

7 lines
375 B
PHTML

<?php
$key = $this->getParam('key', '');
$required = $this->getParam('required', '');
$namespace = $this->getParam('namespace', '');
?>
<input name="<?php echo $this->escape($key); ?>" type="hidden" data-forms-switch data-ls-bind="{{<?php echo $this->escape($namespace); ?>}}" data-cast-to="boolean"<?php if($required): ?> required<?php endif; ?> class="margin-bottom-no" />