<h2><?= ucfirst($this->localization['nowa_wersja_kategorii_galerii']).' '.$lang['shortname'];?></h2>
<form id="add_gallery_category_form" method="post" action="">
    <input type="hidden" name="lang_id" value="<?php echo $lang['idlanguages']; ?>"/>
    <fieldset>
            <p>
                    <label for="gc_name"><?= ucfirst($this->localization['nazwa']);?> *</label>
                    <input id="gc_name" name="name" class="required" size="100" maxlength="100" value="<?php echo set_value('name'); ?>"/>
            </p>
            <p>
                    <label for="gc_title"><?= ucfirst($this->localization['tytul']);?></label>
                    <input id="gc_title" name="title" class="" size="100" value="<?php echo set_value('title'); ?>"/>
            </p>
            <p>
                    <label for="gc_keywords"><?= ucfirst($this->localization['slowa_kluczowe']);?></label>
                    <input id="gc_keywords" name="keywords" class="" size="100" maxlength="200" value="<?php echo set_value('keywords'); ?>"/>
            </p>
            <p>
                    <label for="gc_shortdesc"><?= ucfirst($this->localization['opis']);?></label>
                    <textarea cols="100" rows="10" class="" name="shortdesc" id="gc_shortdesc"><?php echo set_value('shortdesc'); ?></textarea>
            </p>
            <p>
                * - <?= ($this->localization['pole_wymagane']) ?><br /><br />
            </p>
            <p>
                    <input class="submit" type="submit" value="<?= ucfirst($this->localization['zatwierdz']);?>"/>
                    &nbsp;&nbsp;&nbsp;<input type="button" value="<?= ucfirst($this->localization['anuluj']);?>" onClick="location.href='/admin/gallery_categories'"/>
            </p>
    </fieldset>
</form>
<script type="text/javascript">
$(document).ready(function() {
    $("#add_gallery_category_form").validate();
});
</script>