Using form partial for the new rate. #1916

This commit is contained in:
Eric Davis committed 2009-01-19 10:45:53 -08:00
1 parent c3250c882a
commit ae0be85f76
3 files changed
+5 -28

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
<% form_tag('/todo') do |f| %>
<% form_for(@rate) do |f| %>
<table class="list">
<thead>
<th style="width:15%"><%= l(:label_date) %></th>
@@ -12,7 +12,7 @@
<%= text_field_tag "date_from", nil, :size => 10 %><%= calendar_for('date_from') %>
</td>
<td>
<%=
<%= # 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("project",projects_options_for_select(projects))
%>