|
@@ -86,9 +86,13 @@ function render_card_list_group($details) {
|
|
|
$path = $test->getDirectory() . "/" . $field->name . ".jpg";
|
|
$path = $test->getDirectory() . "/" . $field->name . ".jpg";
|
|
|
|
|
|
|
|
?>
|
|
?>
|
|
|
- <div class="form-group">
|
|
|
|
|
- <label><?=htmlspecialchars($field->label)?></label><br />
|
|
|
|
|
- <a class="btn btn-primary" href="/account/tests/<?=$test->id?>/files/<?=$field->name?>" target="_blank">View Image</a>
|
|
|
|
|
|
|
+ <div class="row mb-1">
|
|
|
|
|
+ <label class="col-sm-4 col-form-label"><?=htmlspecialchars($field->label)?></label>
|
|
|
|
|
+ <div class="col-sm-8">
|
|
|
|
|
+ <a href="/account/tests/<?=$test->id?>/files/<?=$field->name?>" target="_blank">
|
|
|
|
|
+ <img class="img-fluid rounded" src="/account/tests/<?=$test->id?>/files/<?=$field->name?>" alt="<?=htmlspecialchars($field->label)?>" />
|
|
|
|
|
+ </a>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<?php
|
|
<?php
|
|
|
continue;
|
|
continue;
|