Ignore:
Timestamp:
Jan 28, 2011, 12:30:39 PM (8 years ago)
Author:
robert@…
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/run/editForm.gsp

    r4 r9  
    11<h2>Edit run</h2>
    22<p>
    3         Please enter data about the run below. Only the date is required.
     3        Please enter data about the run below. Only the name is required.
    44</p>
    55<% /* Test whether this run is used in other assays */ %>
    6 <g:if test="${run.assays.size() > 1}">
     6<g:if test="${assay && run.assays.size() > 1}">
    77        <p>
    88                <strong>Caution</strong>: other assays are also associated with this run. Your changes will
     
    1111</g:if>
    1212       
    13 <g:form name="editRun" controller="run" action="update" id="${run.id}" params="[assayId:assay.id]">
     13<g:form name="editRun" controller="run" action="update" id="${run.id}" params="[assayId:assay?.id]">
    1414        <g:hiddenField name="run_id" value="${run.id}" id="edit_run_id" /><br />
    1515        <label for="name">Name</label><g:textField name="run.name" value="${run.name}" id="edit_run_name" /><br />
Note: See TracChangeset for help on using the changeset viewer.