|
|
@ -24,8 +24,8 @@ $form_tpl = array( |
|
|
|
[tag:fld:8] |
|
|
|
[tag:fld:8] |
|
|
|
[tag:fld:9] |
|
|
|
[tag:fld:9] |
|
|
|
<div class=\\"form-group\\"> |
|
|
|
<div class=\\"form-group\\"> |
|
|
|
<div class=\\"col-sm-offset-4 col-sm-4\\"> |
|
|
|
<div id=\\"addbtn-[tag:formalias]\\" class=\\"col-sm-offset-4 col-sm-4\\"> |
|
|
|
<button type=\\"submit\\" class=\\"btn btn-primary\\">Отправить</button> |
|
|
|
<noscript>включите js в браузере</noscript> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</form> |
|
|
|
</form> |
|
|
@ -36,6 +36,7 @@ $form_tpl = array( |
|
|
|
<script type=\\"text/javascript\\"> |
|
|
|
<script type=\\"text/javascript\\"> |
|
|
|
|
|
|
|
|
|
|
|
$( document ).ready( function () { |
|
|
|
$( document ).ready( function () { |
|
|
|
|
|
|
|
$(\\"#addbtn-[tag:formalias]\\").append(\\\'<button type=\\"submit\\" class=\\"btn btn-primary\\">Отправить</button>\\\'); |
|
|
|
$( \\"#form-[tag:formalias]\\" ).validate( { |
|
|
|
$( \\"#form-[tag:formalias]\\" ).validate( { |
|
|
|
rules: { |
|
|
|
rules: { |
|
|
|
\\"form-ajax_jqval_cap[1]\\": { |
|
|
|
\\"form-ajax_jqval_cap[1]\\": { |
|
|
|