Ignore:
Timestamp:
Oct 25, 2010, 4:23:39 PM (12 years ago)
Author:
robert@…
Message:

Fixed bug #15

Location:
trunk/grails-app/views/person
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/person/edit.gsp

    r959 r987  
    126126                                <td colspan="3" valign="top" class="value ${hasErrors(bean: personInstance, field: 'affiliations', 'errors')}">
    127127                                    <g:select name="affiliations" from="${dbnp.studycapturing.PersonAffiliation.list()}" multiple="yes" optionKey="id" size="5" value="${personInstance?.affiliations}" />
    128                                 </td>
     128
     129                                                                        <g:link controller="personAffiliation" action="list" params="${extraparams}">Edit Affiliations</g:link>
     130                                                                </td>
    129131                            </tr>
    130132                       
  • trunk/grails-app/views/person/list.gsp

    r959 r987  
    6464            <div class="buttons">
    6565                <span class="button"><g:link class="create" action="create" params="${extraparams}"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
    66             </div>
     66                                <span class="button"><g:link class="otherList" controller="personAffiliation" action="list" params="${extraparams}">Edit Affiliations</g:link></span>
     67                        </div>
    6768            <div class="paginateButtons">
    6869                <g:paginate total="${personInstanceTotal}" prev="&laquo; Previous" next="&raquo; Next" params="${extraparams}" />
Note: See TracChangeset for help on using the changeset viewer.