->add('save', SubmitType::class,[
'attr' => [
'class' => 'btn-success btn-anim'
]
]);
{{ form_row(form.save) }}
.<button type="submit" class="btn btn-success btn-anim"><i class="icon-rocket"></i><span class="btn-text">submit</span></button>
{{ form_start(form) }}
{#{ form_widget(form) }#}
{{ form_errors(form) }}
{{ form_row(form.name) }}
{{ form_row(form.slug) }}
<button type="submit" class="btn btn-success btn-anim"><i class="icon-rocket"></i><span class="btn-text">submit</span></button>
{{ form_end(form) }}