Re: [Rails] Re: how to make this form

2014-07-15 Thread Colin Law
On 14 July 2014 23:35, Eric Saupe ericsa...@gmail.com wrote: %= form_for @user do |f| % div class=field %= f.label :login_naam %: %= f.text_field :login_naam, class: login, placeholder: login naam %br / /div %= f.submit % % end % You'll want to let Rails take care of the

[Rails] Re: how to make this form

2014-07-14 Thread Eric Saupe
%= form_for @user do |f| % div class=field %= f.label :login_naam %: %= f.text_field :login_naam, class: login, placeholder: login naam %br / /div %= f.submit % % end % You'll want to let Rails take care of the id's so they can match up the label with the field automatically as