41 lines
1.3 KiB
Smarty
41 lines
1.3 KiB
Smarty
<h1>Dodaj element</h1>
|
|
<form action="{url Structure='Add'}" id="sendForm" method="post"
|
|
enctype="multipart/form-data">
|
|
|
|
{dropDownContainer title='Ogólne'}
|
|
<table class="commonTable" cellpadding="5" cellspacing="0" border="0"
|
|
width="100%">
|
|
<tr>
|
|
<td>Nazwa elementu:</td>
|
|
<td class="left"><input class="inputWidth141 input100percent"
|
|
type="text" name="elementName"
|
|
value="" /> {if
|
|
isset($error.elementName)}
|
|
<div style="color: red;" id="actionError" class="validate">{$error.elementName}</div>{/if}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Wybierz rodzaj strony:</td>
|
|
<td class="left"><select name="idModule" id="idModule"
|
|
onchange="GetModuleCategory(document.getElementById('idModule').value, '{url structure='AjaxGetModuleCategory'}');">
|
|
<option value="0">Wybierz</option> {html_options
|
|
options=$arrayModuleName}
|
|
</select> <a href=""></a></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Wybierz kategorię:</td>
|
|
<td class="left" id="categoryOptions"></td>
|
|
</tr>
|
|
</table>
|
|
{/dropDownContainer}
|
|
|
|
|
|
<div class="cb"></div>
|
|
<div class="panelButtons">
|
|
<input class="cancel" type="button" name="back" value="Anuluj" onclick="javascript:document.location.href='{url label=current}'" />
|
|
<input id="dalejPopover" type="submit" name="name" value="Dalej" style="display: none;" />
|
|
|
|
</div>
|
|
|
|
</form>
|