42 lines
1.5 KiB
PHP
42 lines
1.5 KiB
PHP
<form method="post">
|
|
|
|
<input type="hidden" name="_ip_csrf" value="<?= $this->security->get_csrf_hash() ?>">
|
|
|
|
<div id="headerbar">
|
|
<h1 class="headerbar-title"><?php _trans('custom_values_new'); ?></h1>
|
|
<?php $this->layout->load_view('layout/header_buttons'); ?>
|
|
</div>
|
|
|
|
<div id="content">
|
|
|
|
<div class="row">
|
|
<div class="col-xs-12 col-md-6 col-md-offset-3">
|
|
|
|
<?php $this->layout->load_view('layout/alerts'); ?>
|
|
|
|
<?php $alpha = str_replace("-", "_", strtolower($field->custom_field_type)); ?>
|
|
|
|
<div class="form-group">
|
|
<label for="custom_field_label"><?php _trans('field'); ?></label>
|
|
<input type="text" class="form-control" id="custom_field_label"
|
|
value="<?php _htmlsc($field->custom_field_label); ?>" disabled="disabled"/>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="custom_field_type"><?php _trans('type'); ?></label>
|
|
<input type="text" class="form-control" id="custom_field_type"
|
|
value="<?php _htmlsc(trans($alpha)); ?>" disabled="disabled"/>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="custom_values_value"><?php _trans('value'); ?></label>
|
|
<input type="text" class="form-control" name="custom_values_value" id="custom_values_value"/>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|