settings
This commit is contained in:
@@ -92,10 +92,12 @@ if (isset($_GET['error']) && $_GET['error'] == 'egd_update_failed')
|
|||||||
echo '<td>' . ($field->is_public ? 'Yes' : 'No') . '</td>';
|
echo '<td>' . ($field->is_public ? 'Yes' : 'No') . '</td>';
|
||||||
echo '<td>' . ($field->is_required ? 'Yes' : 'No') . '</td>';
|
echo '<td>' . ($field->is_required ? 'Yes' : 'No') . '</td>';
|
||||||
echo '<td>' . ($field->is_full_width ? 'Yes' : 'No') . '</td>';
|
echo '<td>' . ($field->is_full_width ? 'Yes' : 'No') . '</td>';
|
||||||
echo '<td>';
|
echo '<td style="white-space: nowrap;">';
|
||||||
// Edit button (toggle to show edit form)
|
// Edit button (toggle to show edit form)
|
||||||
echo '<a href="' . add_query_arg(array('page' => 'go-form-settings', 'form_id' => $selected_form_id, 'edit_field' => $field->id), admin_url('admin.php')) . '" class="button button-small">Edit</a> ';
|
echo '<a href="' . add_query_arg(array('page' => 'go-form-settings', 'form_id' => $selected_form_id, 'edit_field' => $field->id), admin_url('admin.php')) . '" class="button" style="margin-right: 4px;">Edit</a> ';
|
||||||
|
echo '<span style="display: inline-block;">';
|
||||||
action_button('go_form_delete_custom_field', 'Delete', 'Delete this custom field?', $field->id);
|
action_button('go_form_delete_custom_field', 'Delete', 'Delete this custom field?', $field->id);
|
||||||
|
echo '</span>';
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user