54 lines
1.9 KiB
PHP
54 lines
1.9 KiB
PHP
<div class="panel panel-info panel-border top">
|
|
<div class="panel-heading">
|
|
<span class="panel-title">Edycja frazy: <u><?= $this -> _phrase['phrase'];?></u></span>
|
|
</div>
|
|
<div class="panel-heading p5" style="height: auto;">
|
|
<div class="row mb10 pl5">
|
|
<div class="col col-xs-12">
|
|
<?= \Html::button(
|
|
array(
|
|
'class' => 'btn btn-sm btn-success',
|
|
'text' => 'Zatwierdź',
|
|
'js' => 'checkForm( "formularz" );',
|
|
'icon' => 'fa-check-circle mr5'
|
|
)
|
|
);?>
|
|
<?= \Html::button(
|
|
array(
|
|
'class' => 'btn btn-sm btn-danger',
|
|
'text' => 'Anuluj',
|
|
'url' => '/?p=reseller_sites',
|
|
'icon' => 'fa-times mr5'
|
|
)
|
|
);?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="panel-body">
|
|
<form method="POST" action="/?p=client_sites&id=<?= $this -> _site_id;?>" id="formularz" class="form-horizontal">
|
|
<input type="hidden" name="site_id" value="<?= $this -> _site_id;?>" />
|
|
<input type='hidden' name='phrase_id' value='<?= $this -> _phrase['id'];?>' />
|
|
<input type='hidden' name='check' value='<?= mktime();?>' />
|
|
<input type='hidden' name='rw' value='save_phrase' />
|
|
<input type="hidden" name="reseller_id" value="<?= $this -> _reseller_id;?>" />
|
|
<div class="row">
|
|
<div class="col col-md-6">
|
|
<?= \Html::input(
|
|
array(
|
|
'name' => 'discount',
|
|
'value' => $this -> _phrase['discount'],
|
|
'label' => 'Rabat w %',
|
|
'class' => 'number-format'
|
|
)
|
|
);?>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<script type='text/javascript'>
|
|
$( function()
|
|
{
|
|
disable_menu();
|
|
});
|
|
</script>
|