forms - Separated input text fields for single input field -


is there symfony2 option show separated text fields 1 single text field in form?

try use form customization feature. please check article more information -http://symfony.com/doc/current/cookbook/form/form_customization.html example:

form_theme.twig.html

{% block file_widget %}     {% spaceless %}      <td>{% set type = type|default('file') %}          <input type="{{ type }}" {{ block('widget_attributes') }} />      </td>     {% endspaceless %} {% endblock file_widget %} 

template.twig.html

{% form_theme form 'mybundle:form:form_theme.html.twig' %} {{ form_row(form.contract) }} 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -