Skip to content

Commit b2b6588

Browse files
committed
header class added
1 parent f2b0861 commit b2b6588

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

tmpl/default.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@
2424
<div class="simple-contact-form-loader module-<?php echo $module->id; ?> d-none">
2525
<div class="loading"></div>
2626
</div>
27-
<?php if (!empty($title)) { ?>
28-
<h5 class="card-title"><?php echo JText::_($title); ?></h5>
29-
<?php } ?>
30-
<?php if (!empty($description)) { ?>
31-
<p class="card-subtitle mb-2 text-muted"><?php echo JText::_($description); ?></p>
32-
<?php } ?>
27+
<div class="jd-simple-contact-form-header">
28+
<?php if (!empty($title)) { ?>
29+
<h5 class="card-title"><?php echo JText::_($title); ?></h5>
30+
<?php } ?>
31+
<?php if (!empty($description)) { ?>
32+
<p class="card-subtitle mb-2 text-muted"><?php echo JText::_($description); ?></p>
33+
<?php } ?>
34+
</div>
3335
<form method="POST" action="<?php echo JURI::root(); ?>index.php?option=com_ajax&module=jdsimplecontactform&format=json&method=submit" data-parsley-validate data-parsley-errors-wrapper="<ul class='text-danger list-unstyled mt-2 small'></ul>" data-parsley-error-class="border-danger" data-parsley-success-class="border-success" id="simple-contact-form-<?php echo $module->id; ?>" enctype="multipart/form-data">
3436
<div class="jdscf-row">
3537
<?php

0 commit comments

Comments
 (0)