Actions
Defect #1436
closedBad rendering on projects/add
Start date:
2008-06-12
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
- Go to /projects/add (must be admin) (note that the page has no title)
- Enter only in the form
- Click save button
Error are reported and the page is scrambled. Observed on Firefox 2 and 3.
A workaround is to replace this line of app/views/layouts/base.rhtml
<h1><%= h(@project ? @project.name : Setting.app_title) %></h1>
by this one
<h1><%= h((@project and !@project.name.blank?) ? @project.name : Setting.app_title) %></h1>
Actions