Skip to content

Commit

Permalink
Merge pull request #5 from caffeinalab/hotfix/settings_page_save
Browse files Browse the repository at this point in the history
[+] Fix issue #4
  • Loading branch information
progress44 authored Apr 10, 2020
2 parents ac48b49 + f0deaba commit 3fb5800
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions views/OptionPage.php
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<div class="wrap">
<h1>Sink</h1>

<?php
settings_fields('sink_options');
do_settings_sections('sink_options');
$config_map = $this->options->config_map;
$opts = $this->options->loadOptions() ?: $config_map;

$aws_region = $this->options->getValueForOption($config_map[0]);
?>

<div class="uk-grid-small uk-child-width-expand@s" uk-grid>

<form class="uk-form-stacked" method="post" action="options.php">

<?php
settings_fields('sink_options');
do_settings_sections('sink_options');
$config_map = $this->options->config_map;
$opts = $this->options->loadOptions() ?: $config_map;

$aws_region = $this->options->getValueForOption($config_map[0]);
?>

<div class="uk-margin-small-top">
<ul class="uk-flex uk-tab" uk-tab>
<li class="uk-active"><a href="#">AWS</a></li>
Expand Down

0 comments on commit 3fb5800

Please sign in to comment.