时间:2021-07-01 10:21:17 帮助过:15人阅读
调用很方便
[html]
{% import "JcyHelperBundle:tmp:jcyForm.html.twig" as forms %}
{{ forms.jcyForm(dbForm,path('JcyHelperBundle_db_set'),'Connect') }}
{% import "JcyHelperBundle:tmp:jcyForm.html.twig" as forms %}
{{ forms.jcyForm(dbForm,path('JcyHelperBundle_db_set'),'Connect') }}
现在上源代码[html]
{% macro jcyForm(form,action,submit_name,onSubmitJs) %}
{% endmacro %}
http://www.bkjia.com/PHPjc/478409.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/478409.htmlTechArticle效果如图 调用很方便 [html] {% import JcyHelperBundle:tmp:jcyForm.html.twig as forms %} {{ forms.jcyForm(dbForm,path(JcyHelperBundle_db_set),Connect) }} {% import JcyHelper...