How can I add a label to f.select on rails -


i've been trying add label following code

<%= f.select :platform, idea::platform_picking%> 

but keeps ignoring it,so researched why happen , turns out it's because f.select isn't simple_form method, there way can add label it?

use label forms:

<%= f.label :platform%> 

check docs


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -