up version and change settings button to line

This commit is contained in:
2026-05-12 13:38:44 +02:00
parent cdda18f6de
commit ed67849629
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ if (isset($_GET['error']) && $_GET['error'] == 'egd_update_failed')
$form = go_form_get_form_by_id($selected_form_id);
$form_name = $form ? $form->name : 'Unknown Form';
echo "<h3> $form_name</h3>";
echo '<div style="margin-bottom:15px">';
echo '<div style="margin-bottom:15px; display: flex; flex-wrap: wrap; gap: 10px;">';
action_button('go_form_delete_form', 'Delete Form', 'Delete this form and ALL entries?', $selected_form_id);
action_button('go_form_export_csv', 'Export to CSV', 'Confrm Export', $selected_form_id);
@@ -56,7 +56,7 @@ if (isset($_GET['error']) && $_GET['error'] == 'egd_update_failed')
echo '<h3>Custom Fields</h3>';
// Add new custom field form
echo '<details style="margin-bottom:15px;"><summary style="cursor:pointer; font-weight:bold;">+ Add New Custom Field</summary>';
echo '<details style="margin-bottom:15px;"><summary style="cursor:pointer; font-weight:bold;">Add New Custom Field</summary>';
echo '<form method="post" action="' . admin_url('admin-post.php') . '" style="margin-top:10px; padding-left:15px;">';
echo wp_nonce_field('go_form_create_custom_field_action', 'go_form_create_custom_field_nonce', true, false);
echo '<input type="hidden" name="action" value="go_form_create_custom_field">';

View File

@@ -2,7 +2,7 @@
/**
* Plugin Name: Go Form Plugin
* Description: Form plugin for Go players
* Version: 0.05-WIP
* Version: 0.05
* Author: Nikola Petrov
*/