| Server IP : 162.214.74.102 / Your IP : 216.73.216.192 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_apps/hering/application/plugins/module_forms/views/questions/ |
Upload File : |
<div class="panel panel-default">
{if isset($type) && !empty($type->id)}
{assign var='action' value='update'}
{else}
{assign var='action' value='create'}
{/if}
<div class="panel-heading">
<h4>{$_L['module_forms_new_type']}</h4>
</div>
<div class="panel-body">
<form class="form-horizontal" name="form-add" method="post" action="{$_url}module_forms/types/{$action}">
{if isset($type) && !empty($type->id)}
<input type="hidden" name="id" value="{$type->id}">
{/if}
<div class="row">
<div class="col-md-6 col-sm-12 col-xs-12">
<label for="name" class="control-label">{$_L['Type']} <span class="red">*</span> </label>
<input type="text" id="name" name="name" class="form-control"
placeholder="Ex: text, int, varchar, bool"
value="{if isset($type) && !empty($type->name)}{$type->name}{/if}" required>
</div>
</div>
<div class="row" style="margin-top: 20px;">
<div class="col-md-12 form-group">
<div class="col-md-offset-0 col-lg-10">
<button class="md-btn md-btn-primary" type="submit" id="submit">
<i class="fa fa-check"></i> {$_L['Save']}
</button>
<a href="{$_url}module_forms/types/listQuestions" class="btn btn-danger" style="margin-left: 10px;">
<i class="fa fa-ban"></i> {$_L['Cancel']}
</a>
</div>
</div>
</div>
</form>
</div>
</div>