On 14 July 2014 23:35, Eric Saupe <
eric...@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 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