PhillippOhlandt / bolt-extension-user-profiles

Extend the default Bolt users based on your needs and create public profile pages
7 stars 3 forks source link

fix runtime error in Bolt 3.2 and above #7

Open crim3hound opened 7 years ago

crim3hound commented 7 years ago

Add {% from '@bolt/_macro/_macro.twig' import attr %} to the top of each of the four input field templates, then find all instances of {{ macro.attr(attr_text) }}, {{ macro.attr(attr_opt) }} and {{ macro.attr(attr_checkbox) }} and delete the macro. from the twig function. Leave everything else as it is, and runtime error should be fixed for Bolt 3.2 and above.