Hi all
this is my html code:
I want to convert it to RoR
<%= submit_tag ‘Submit’ %>
Where do I add the class=“submit” in RoR?
thanks
Hi all
this is my html code:
I want to convert it to RoR
<%= submit_tag ‘Submit’ %>
Where do I add the class=“submit” in RoR?
thanks
On Oct 10, 6:11 pm, Pepe S. [email protected]
wrote:
Where do I add the class=“submit” in RoR?
thanks
Posted viahttp://www.ruby-forum.com/.
<%= submit_tag ‘Submit’, :class => ‘submit’ %>
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs