Twitter Bootstrap button type in PHP -


I have the following code that is dynamically created on the server side:

  Array "type" = & gt; "Button", "name" = & gt; "Submit", "label" = & gt; "Validar")  

The button is shown in blue, I have to show it in the red "danger" type.

Add a class!

  array ("type" = & gt; "button", "name" = & gt; "submit", "labels" = & gt; "validar", "square" = & Gt; "BTN BTN-Danger")  

Comments