Your IP : 216.73.216.84


Current Path : /home/h/e/l/helpink/www/modules/mod_jdsimplecontactform/layouts/fields/
Upload File :
Current File : /home/h/e/l/helpink/www/modules/mod_jdsimplecontactform/layouts/fields/submit.php

<?php
/**
 * @package   JD Simple Contact Form
 * @author    JoomDev https://www.joomdev.com
 * @copyright Copyright (C) 2021 Joomdev, Inc. All rights reserved.
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
 */
// no direct access
\defined('_JEXEC') or die;

use \Joomla\CMS\Language\Text;

extract($displayData);

$buttonText = $params->get('submittext', 'JSUBMIT');
$buttonClass = $params->get('submitclass', 'btn-primary');
$buttonWidth = $params->get('submit_btn_width', '12');
?>
<div class="jdscf-submit-btn jdscf-col-md-<?php echo $buttonWidth ?>">
   <button type="submit" class="btn<?php echo!empty($buttonClass) ? ' ' . $buttonClass : ''; ?> btn-block"><?php echo Text::_($buttonText); ?></button>
</div>