first commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php use_helper('stBackend', 'stAdminGenerator') ?>
|
||||
<a href="#" class="close"></a>
|
||||
<h2><?php echo $dashboard->isNew() ? __('Dodaj pulpit', null, 'stBackend') : __('Edycja pulpitu', null, 'stBackend') ?></h2>
|
||||
<div class="content">
|
||||
<form class="admin_form" action="<?php echo st_url_for('@stDashboard?action=ajaxEditOrCreate') ?>?id=<?php echo $dashboard->getId() ?>" method="post">
|
||||
<?php echo st_admin_get_form_field('dashboard_configuration[default]', __('Domyślny', null, 'stBackend'), 1, 'checkbox_tag', array(
|
||||
'checked' => $dashboard->getIsDefault(),
|
||||
'disabled' => $dashboard->getIsDefault()
|
||||
)) ?>
|
||||
<?php echo st_admin_get_form_field('dashboard_configuration[label]', __('Nazwa', null, 'stBackend'), $dashboard->isNew() ? __('Nowy pulpit', null, 'stBackend') : $dashboard->getLabel(), 'input_tag', array(
|
||||
'required' => 'required',
|
||||
'maxlength' => 32,
|
||||
)) ?>
|
||||
<?php echo st_admin_get_form_field('dashboard_configuration[layout]', __('Układ', null, 'stBackend'), $dashboard, 'get_dashboard_layout_tag') ?>
|
||||
|
||||
<div class="text-right bs-mt-2">
|
||||
<?php echo st_get_admin_button('save', __('Zapisz'), null, ['data-admin-action-show-preloader' => false]) ?>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user