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". How do I implement it. I am new to rails. Please help.
simple_form does that
You can set the title in the controller methods, or you can set it in a view helper based on the request path.