HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/slfopp7cb1df/public_html/pm/app/Views/custom_fields/form/prepare_context_fields.php
<?php
$label_column = isset($label_column) ? $label_column : "col-md-3";
$field_column = isset($field_column) ? $field_column : "col-md-9";

foreach ($custom_fields as $field) {
    ?>
    <div class="form-group " data-field-type="<?php echo $field->field_type; ?>">
        <div class="row">
            <label for="custom_field_<?php echo $field->id ?>" class="<?php echo $label_column; ?>"><?php echo $field->title; ?></label>

            <div class="<?php echo $field_column; ?>">
                <?php
                if ($login_user->user_type == "client" && $field->disable_editing_by_clients) {
                    //for clients, if the 'Disable editing by clients' setting is enabled
                    //show the output instead of input
                    echo view("custom_fields/output_" . $field->field_type, array("value" => $field->value));
                } else {
                    echo view("custom_fields/input_" . $field->field_type, array("field_info" => $field));
                }
                ?> 
            </div>
        </div>
    </div>
<?php } ?>