diff options
Diffstat (limited to 'theme/admin/html/page/form.php')
-rw-r--r-- | theme/admin/html/page/form.php | 27 |
1 files changed, 10 insertions, 17 deletions
diff --git a/theme/admin/html/page/form.php b/theme/admin/html/page/form.php index eee61bf..c0ffe2f 100644 --- a/theme/admin/html/page/form.php +++ b/theme/admin/html/page/form.php @@ -13,11 +13,18 @@ <?php if($FORM['TYPE'] !== 'DELETE'): ?> <div class="form-grid"> - <label for="form_id"> - <i class="fa fa-database"></i>ID</label> + <label for="form_name"> + <i class="fa fa-file-text-o"></i><?=$Language->text('label_name')?></label> + + <div class="form-grid-item first"> + <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" /> + </div> + + <label for="form_slug"> + <i class="fa fa-link"></i><?=$Language->text('label_slug')?></label> <div class="form-grid-item"> - <input<?=($FORM['TYPE'] === 'UPDATE') ? ' disabled="disabled"' : '';?> id="form_id" name="id" type="number" placeholder="AUTO_INCREMENT" value="<?=escapeHTML($FORM['DATA']['ID'])?>" /> + <input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>" /> </div> <label for="form_user"> @@ -31,20 +38,6 @@ </select> </div> - <label for="form_name"> - <i class="fa fa-file-text-o"></i><?=$Language->text('label_name')?></label> - - <div class="form-grid-item"> - <input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" /> - </div> - - <label for="form_slug"> - <i class="fa fa-link"></i><?=$Language->text('label_slug')?></label> - - <div class="form-grid-item"> - <input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>" /> - </div> - <label for="form_time_insert"> <i class="fa fa-clock-o"></i><?=$Language->text('label_insert')?></label> |