| 1 |
<?php |
| 2 |
//Row controls. |
| 3 |
global $post; |
| 4 |
$is_form = get_post_meta($post->ID, '_cf7sg_managed_form', true); |
| 5 |
if(empty($is_form) || !$is_form){ //check if new form debug_msg($post); |
| 6 |
$is_form = false; |
| 7 |
if('auto-draft'==$post->post_status) $is_form=true; |
| 8 |
} |
| 9 |
if($is_form): |
| 10 |
?> |
| 11 |
<h3 class="cf7sg-pointer"><?=__('Row controls', 'cf7-grid-layout')?></h3> |
| 12 |
<p><?=__('The row controls are in a dark grey box. You can add new rows (<span class="dashicons dashicons-plus"></span>), delete a row (<span class="dashicons dashicons-trash"></span>), or move (<span class=" dashicons dashicons-move"></span>) an existing row by dragging it. You can also edit a row (<span class=" dashicons dashicons-edit"></span>) and convert it into a collapsible section. Collapsible sections are great to break down a large form.','cf7-grid-layout')?></p> |
| 13 |
<?php endif; ?> |
| 14 |
|