Ruby on Rails Saturday, September 29, 2012

On Fri, Sep 28, 2012 at 11:36 PM, ruby rails <lists@ruby-forum.com> wrote:
> I have a Task management applciation where users can add task and edit
> it. I am using single form for it. When I render this form for edit and
> new, I need to assign the different form title for each. Say "Edit task"
> and "Assign new task".

You can set the title in the controller methods, or you can set it in a
view helper based on the request path.

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment