我有这样的代码: <a href="/music/news/dwight-yoakam-and-jack-black-to-produce-new-nashville-comedy-20151009">Dwight Yoakam and Jack Black to Produce New Nashville Comedy</a>我怎么才能得到?
我有一个关于表单渲染的问题:我想定义几个类似的表单字段(在数组中传递它们或在循环中创建它们),然后我想在一个循环中的细枝中渲染它们: {% for field in form.collection %} {{ form_label(field) }} </li>
{% endfor %} 原因:我需要访问每个字段的标签和小部件,同时在循环中呈现它(不知道每个字段的名称)。我想,唯一的办法就是拥有一个CollectionType。这不是基于任何实体。我看过带有实体
Elliot" textAlign="center" />
<Card.Content description="Elliot is a sound engineer living in NashvilleElliot is a sound engineer living in Nashville who enjoys playing guitar and hanging with his cat.Elliot is a sound engineer living in Nas