Пример #1
0
 protected function showTextarea()
 {
     $output = Html::startTag("textarea", $this->attributes);
     $output .= $this->value;
     $output .= Html::endTag("textarea");
     return $output;
 }
Пример #2
0
"
							  data-name="<?php 
        echo $field->name;
        ?>
"
							  data-value="{{ $record-><?php 
        echo $field->name;
        ?>
 }}"
							  data-pk="{{ $record->{$record->getKeyName()} }}"
							  data-url="/<?php 
        echo $gen->route();
        ?>
/{{ $record->{$record->getKeyName()} }}"
							  <?php 
        echo \Nvd\Crud\Html::getSourceForEnum($field);
        ?>
>{{ $record-><?php 
        echo $field->name;
        ?>
 }}</span>
						<?php 
    } else {
        ?>
{{ $record-><?php 
        echo $field->name;
        ?>
 }}
						<?php 
    }
    ?>