Updated button to (markdown)

eliasdorneles 2012-08-03 08:59:47 -07:00
parent 366237bd6c
commit 7da6d283c5

@ -11,8 +11,8 @@ It has great value in lists of records that have options that are not "elegant"
<?php echo button_to('Button value' , 'controller/action' , array('hidden_name' => 'value' )) ?>
<!-- Personalized -->
<?php echo button_to( array('value' => 'Button value', 'class' => 'css Class') , 'controller/action',
array('hidden_name' => 'value' )) ?>
<?php echo button_to( array('value' => 'Button value', 'class' => 'css Class') ,
'controller/action', array('hidden_name' => 'value' )) ?>
<h3>Helper code:</h3>
@ -25,7 +25,8 @@ It has great value in lists of records that have options that are not "elegant"
* @access public
* @param mixed button's value or array with html configuration
* @param string (module/)controller/action to post.
* @param string associative array (hash) with key equals to hidden field's name and value equals to hidden's value.
* @param string associative array (hash) with key equals to hidden field's name
and value equals to hidden's value.
* @return string
*/