Added a new helper to UsersHelper.
* project_options_for_select doesn't allow setting the selected project so it is replaced with project_options_for_select_with_selected in the views #1914
This commit is contained in:
1 parent
627a03c5e6
commit
7d32fc7088
2 files changed
+15
-1
No files matched your search
@@ -15,7 +15,7 @@
|
||||
<%= # TODO: move to controller once a hook is in place for the Admin panel
|
||||
projects = Project.find(:all, :conditions => { :status => Project::STATUS_ACTIVE}, :include => :parent)
|
||||
|
||||
select_tag("rate[project_id]", projects_options_for_select(projects))
|
||||
select_tag("rate[project_id]", project_options_for_select_with_selected(projects, @rate.project))
|
||||
%>
|
||||
</td>
|
||||
<td align="right">
|
||||
|
||||
Reference in new issue
Block a user