Form_for/form_tag is missing. Am 11.11.2012 18:50 schrieb "roelof" <rwob...@hotmail.com>:
> Hello, > > I have followed this tutorial : > https://github.com/NoamB/sorcery/wiki/Simple-Password-Authentication > I have to make this form : > > # app/views/users/_form.html.erb > <div class="field"> > <%= f.label :password %><br /> > <%= f.password_field :password %> > </div> > <div class="field"> > <%= f.label :password_confirmation %><br /> > <%= f.password_field :password_confirmation %> > </div> > Where f is a sort of virtual field. > But when I run this I get a error message that the variable f is not known. > > How can I solve this ? > > Roelof > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/WCYVAIVWu5oJ. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.