Ignore:
Timestamp:
Jun 17, 2010, 2:57:04 PM (11 years ago)
Author:
duh
Message:
  • added logic to immediately edit or create a study (and hence skip the main wizard page)
  • the final wizard page now allows you to immediately edit the study, create a new study or show the study
  • the show study page's edit button now immediately makes you edit the study in the wizard
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/study/show.gsp

    r572 r578  
    841841          <g:set var="studyInstance" value="${studyList[0]}" />
    842842          <g:hiddenField name="id" value="${studyInstance?.id}" />
    843           <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
     843          <span class="button"><g:link class="edit" controller="wizard" params="[jump:'edit']" id="${studyInstance?.id}">${message(code: 'default.button.edit.label', default: 'Edit')}</g:link></span>
    844844          <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
    845845        </g:if>
Note: See TracChangeset for help on using the changeset viewer.