mohammed_abdallah - 1 year ago

peace for all i need to use form module with a custom view of mine but how to put the same action of the generated form to the new design of mine in other words i want the same one to this {{ form('feed_backs','feed_backs').redirect('feed_backs') | raw}} with plain html

so what the value of action will be ??

fryiee - 1 year ago

{% set form = form('feed_backs').redirect('feed_backs').get %}
{{|raw }}
{# loop through your fields here (ie form.fields) or target them individually (ie form.fields.slug) #}
{{ form.actions|raw }}
{{ form.close|raw }}

mohammed_abdallah - 1 year ago

good i made it before but it repeat the fields many times i don't know why