mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
move CSRFTokenFieldTag up to the opening form tag
for style and discoverability
This commit is contained in:
parent
f5e3b717ff
commit
d2bb1b02b5
2 changed files with 2 additions and 2 deletions
|
@ -69,6 +69,7 @@ function DisplayHostAPDConfig()
|
|||
<div class="panel-body">
|
||||
<p><?php $status->showMessages(); ?></p>
|
||||
<form role="form" action="?page=hostapd_conf" method="POST">
|
||||
<?php echo CSRFTokenFieldTag() ?>
|
||||
<!-- Nav tabs -->
|
||||
<ul class="nav nav-tabs">
|
||||
<li class="active"><a href="#basic" data-toggle="tab"><?php echo _("Basic"); ?></a></li>
|
||||
|
@ -82,7 +83,6 @@ function DisplayHostAPDConfig()
|
|||
<div class="tab-pane fade in active" id="basic">
|
||||
|
||||
<h4><?php echo _("Basic settings") ;?></h4>
|
||||
<?php echo CSRFTokenFieldTag() ?>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-4">
|
||||
<label for="cbxinterface"><?php echo _("Interface") ;?></label>
|
||||
|
|
|
@ -155,6 +155,7 @@ function DisplaySystem()
|
|||
|
||||
<p><?php $status->showMessages(); ?></p>
|
||||
<form role="form" action="?page=system_info" method="POST">
|
||||
<?php echo CSRFTokenFieldTag() ?>
|
||||
<ul class="nav nav-tabs" role="tablist">
|
||||
<li role="presentation" class="active systemtab"><a href="#system" aria-controls="system" role="tab" data-toggle="tab"><?php echo _("System"); ?></a></li>
|
||||
<li role="presentation" class="languagetab"><a href="#language" aria-controls="language" role="tab" data-toggle="tab"><?php echo _("Language"); ?></a></li>
|
||||
|
@ -198,7 +199,6 @@ function DisplaySystem()
|
|||
|
||||
<div role="tabpanel" class="tab-pane" id="language">
|
||||
<h4><?php echo _("Language settings") ;?></h4>
|
||||
<?php echo CSRFTokenFieldTag() ?>
|
||||
<div class="row">
|
||||
<div class="form-group col-md-4">
|
||||
<label for="code"><?php echo _("Select a language"); ?></label>
|
||||
|
|
Loading…
Reference in a new issue