how to make this form

Hello,

I have read several pages but I cannot find how to make a form with this field ;

div class=“field”>
Login naam:

Can anyone give me a hint ?

Roelof

<%= form_for @user do |f| %>

<%= f.label :login_naam %>:

<%= f.text_field :login_naam, class: “login”, placeholder: “login naam” %>

<%= 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 well as the name variable.

Take a read through http://www.railstutorial.org/book to get an idea of creating a simple application with all the of the basic building blocks explained.

Even better would be to work right through the tutorial as I think I
have suggested already a couple of times.

In addition can I point out that it is good manners to come back when
you have solved a problem and post the solution for others that may
find your post later, also you could thank those that have tried to
help. I have noticed on several occasions that you have not responded
after suggestions are made, but just move on to another problem the
next day.

Regards

Colin