Jump to content

A través de HelpersForms se puede insertar código HTML entre INPUT


avdarie

Recommended Posts

Hola,

 

Quería saber si hay manera de insertar código HTML ejemplo <DIV></DIV> cuando se define los inputs a través de HelperForm.

 

Es para no crear mis propios TPL con el formulario con código intermedio ...

 

Gracias de antemano,

 

Saludos,

 

 

 

 

Link to comment
Share on other sites

  • 2 months later...
array(

'type' => 'html',

'name' => 'html_data',

'html_content' => '<hr><strong>html:</strong> for writing free html like this <span class="label label-danger">i\'m a label</span> <span class="badge badge-info">i\'m a badge</span> <button type="button" class="btn btn-default">i\'m a button</button><hr>'

),

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...