1
0
Fork 0
mirror of synced 2024-07-03 21:50:34 +12:00
appwrite/app/views/console/database/rules/fileId.phtml

22 lines
739 B
PHTML
Raw Normal View History

2020-04-28 06:37:42 +12:00
<?php
$key = $this->getParam('key', '');
$required = $this->getParam('required', '');
$namespace = $this->getParam('namespace', '');
?>
<input
type="hidden"
name="<?php echo $this->escape($key); ?>"
data-ls-bind="{{<?php echo $this->escape($namespace); ?>}}"
data-read="<?php echo $this->escape(json_encode([])); ?>"
data-write="<?php echo $this->escape(json_encode([])); ?>"
data-accept=""
data-forms-upload=""
data-label-button="Upload"
2020-04-28 20:35:51 +12:00
data-search="1"
2020-04-28 06:37:42 +12:00
data-scope="sdk"
data-default=""
data-project="{{router.params.project}}"
<?php if($required): ?> required<?php endif; ?>
2020-04-28 20:35:51 +12:00
class="margin-bottom-no">
<button type="button" data-ls-ui-trigger="open-file-serach">Search</button>