| @@ -9,24 +9,14 @@ | ||
| 9 | 9 | |
| 10 | 10 | <div class="hf-small-margin"> |
| 11 | 11 | <div class="hf-row"> |
| 12 | 12 | <div class="hf-col" style="min-width: 600px;"> |
| 13 | - <h4 style="margin-bottom: 8px;"> | |
| 14 | - <label for="hf-form-editor"> | |
| 15 | - <?php _e('Form Code', 'html-forms'); ?> | |
| 16 | - <a id="hf-show-form-preview" href="#hf-form-editor"><?php _e('Show Form Preview', 'html-forms'); ?></a> | |
| 17 | - </label> | |
| 18 | - </h4> | |
| 13 | + <h4 style="margin-bottom: 8px;"><label for="hf-form-editor"><?php _e('Form Code', 'html-forms'); ?> <span class="dashicons dashicons-editor-help" style="visibility: hidden;"></span></label></h4> | |
| 19 | 14 | <textarea id="hf-form-editor" class="widefat" name="form[markup]" cols="160" rows="20" autocomplete="false" autocorrect="false" autocapitalize="false" spellcheck="false"><?php echo htmlspecialchars($form->markup, ENT_QUOTES, get_option('blog_charset')); ?></textarea> |
| 20 | 15 | <?php submit_button(); ?> |
| 21 | 16 | </div> |
| 22 | - <div id="hf-form-preview-container" class="hf-col" style="min-width: 400px;"> | |
| 23 | - <h4 style="margin-bottom: 8px;"> | |
| 24 | - <labe lfor="hf-form-preview"> | |
| 25 | - <?php _e('Form Preview', 'html-forms'); ?> | |
| 26 | - </label> | |
| 27 | - <a id="hf-hide-form-preview" href="#hf-form-editor"><?php _e('Hide Form Preview', 'html-forms'); ?></a> | |
| 28 | - </h4> | |
| 17 | + <div class="hf-col" style="min-width: 400px;"> | |
| 18 | + <h4 style="margin-bottom: 8px;"><label><?php _e('Form Preview', 'html-forms'); ?></label></h4> | |
| 29 | 19 | <iframe id="hf-form-preview" src="<?php echo esc_attr($form_preview_url); ?>"></iframe> |
| 30 | 20 | <p class="description"><?php esc_html_e('The form may look slightly different than this when shown in a post, page or widget area.', 'html-forms'); ?></p> |
| 31 | 21 | </div> |
| 32 | 22 | </div> |