eZ Community » Forums » Developer » function attribute_edit_gui not working
expandshrink

function attribute_edit_gui not working

function attribute_edit_gui not working

Monday 14 May 2018 10:03:28 am

Here is my code, I want set for input type "email" but it don't work, What i am doing wrong? 

 

{foreach $object.contentobject_attributes as $lidx => $ContentObjectAttribute}   

 {switch match=$ContentObjectAttribute.contentclass_attribute_identifier}
   {case match="email"}     {set $attr='type="email"'}   {/case}                                  
{/switch}

 {attribute_edit_gui  attribute=$content_attributes[$lidx] attr=$attr}

{/foreach}

Modified on Monday 14 May 2018 10:04:26 am by Nick Nick

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from