php - Laravel From::button -


how can populate dynamic value {{form::button() }}?

this have got:

{{ form::button('button text', array('class' => 'btn btn-block btn-success','type'=>'submit')) }} 

html output is:

 <button class="btn btn-block btn-success" type="submit">button text </button> 

how can display $user button text? (.i.e $user dynamic value here)

the first parameter text value. need pass dynamic value first parameter, this:

{{ form::button($username, array('class' => 'btn btn-block btn-success','type'=>'submit')) }} 

Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -