| 1 |
<?php |
| 2 |
defined('ABSPATH') || die(); |
| 3 |
?> |
| 4 |
|
| 5 |
<div id="hf-add-form-modal" role="dialog" aria-modal="true" aria-labelledby="hf-add-form-title" aria-hidden="true"> |
| 6 |
<div class="hf-add-form-modal-wrap"> |
| 7 |
|
| 8 |
<h3 id="hf-add-form-title"><?php esc_html_e('Create New Form', 'hash-form'); ?></h3> |
| 9 |
|
| 10 |
<button type="button" class="hf-modal-close hashform-close-form-modal"> |
| 11 |
<span class="dashicons dashicons-no-alt" aria-hidden="true"></span> |
| 12 |
<span class="screen-reader-text"><?php esc_html_e('Close', 'hash-form'); ?></span> |
| 13 |
</button> |
| 14 |
|
| 15 |
<form id="hf-add-template" method="post"> |
| 16 |
<div class="hf-form-row"> |
| 17 |
<label for="hf-form-name"><?php esc_html_e('Form Name', 'hash-form'); ?></label> |
| 18 |
<input type="text" name="template_name" id="hf-form-name" autocomplete="off" placeholder="<?php esc_attr_e('Contact Form', 'hash-form'); ?>" /> |
| 19 |
<p class="hf-modal-help"><?php esc_html_e('Used to identify the form in your admin. You can rename it at any time.', 'hash-form'); ?></p> |
| 20 |
<p class="hf-modal-error" role="alert"></p> |
| 21 |
</div> |
| 22 |
|
| 23 |
<div class="hf-add-form-footer"> |
| 24 |
<a href="#" class="hashform-close-form-modal"><?php esc_html_e('Cancel', 'hash-form'); ?></a> |
| 25 |
<button type="submit"><?php esc_html_e('Create Form', 'hash-form'); ?></button> |
| 26 |
</div> |
| 27 |
</form> |
| 28 |
|
| 29 |
</div> |
| 30 |
</div> |
| 31 |
|