| <% @heading = 'Difference Analyses' %> |
| <% @overview = "Use this form to create a new Difference Analysis for #{link_to_site(@baseline_process)}" %> |
| |
| <%= error_messages_for 'difference_analysis' %> |
| |
| <% tabular_form_for :difference_analysis, @difference_analysis do |f| %> |
| <%= f.hidden_field :site_id %> |
| <tr><th width="200">From</th><td><%= f.select :site_id_from, @baseline_processes.collect {|bp| [bp.title, bp.id]} %></td> |
| </tr> |
| <tr> |
| <th>To</th> |
| <td><%= link_to_site @baseline_process %> |
| </td> |
| </tr> |
| <tr><th></th><td><%= submit_tag 'Submit' %></td></tr> |
| <% end %> |