Ignore:
Timestamp:
Jun 4, 2010, 12:15:24 PM (11 years ago)
Author:
roberth
Message:

Adding of contacts is made possible in the study creation wizard.

Location:
trunk/grails-app/views/personRole
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/personRole/create.gsp

    r496 r527  
    44    <head>
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    6         <meta name="layout" content="main" />
     6        <meta name="layout" content="${layout}" />
    77        <g:set var="entityName" value="${message(code: 'personRole.label', default: 'PersonRole')}" />
    88        <title><g:message code="default.create.label" args="['Role']" /></title>
     
    3838                </div>
    3939                <div class="buttons">
    40                    <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span>
    41                    <span class="button"><g:link class="cancel" action="list">Cancel</g:link></span>
     40                   <g:each in="${extraparams}" var="param">
     41                     <input type="hidden" name="${param.key}" value="${param.value}">
     42                   </g:each>
     43                  <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span>
     44                   <span class="button"><g:link class="cancel" action="list" params="${extraparams}">Cancel</g:link></span>
    4245                </div>
    4346            </g:form>
  • trunk/grails-app/views/personRole/edit.gsp

    r496 r527  
    44    <head>
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    6         <meta name="layout" content="main" />
     6        <meta name="layout" content="${layout}" />
    77        <g:set var="entityName" value="${message(code: 'personRole.label', default: 'PersonRole')}" />
    88        <title><g:message code="default.edit.label" args="['Role']" /></title>
     
    4040                </div>
    4141                <div class="buttons">
     42                     <g:each in="${extraparams}" var="param">
     43                       <input type="hidden" name="${param.key}" value="${param.value}">
     44                     </g:each>
    4245                    <span class="button"><g:actionSubmit class="save" action="update" value="${message(code: 'default.button.update.label', default: 'Update')}" /></span>
    4346                    <span class="button"><g:actionSubmit class="cancel" action="list" value="Cancel" /></span>
  • trunk/grails-app/views/personRole/list.gsp

    r496 r527  
    44    <head>
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    6         <meta name="layout" content="main" />
     6        <meta name="layout" content="${layout}" />
    77        <g:set var="entityName" value="${message(code: 'personRole.label', default: 'PersonRole')}" />
    88        <title><g:message code="default.list.label" args="['Role']" /></title>
     
    3030                            <td class="buttons">
    3131                              <g:form>
     32                                 <g:each in="${extraparams}" var="param">
     33                                   <input type="hidden" name="${param.key}" value="${param.value}">
     34                                 </g:each>
    3235                                  <g:hiddenField name="id" value="${personRoleInstance?.id}" />
    3336                                  <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
     
    4144            </div>
    4245            <div class="buttons">
    43                 <span class="button"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
     46                <span class="button"><g:link params="${extraparams}" class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
    4447            </div>
    4548            <div class="paginateButtons">
    46                 <g:paginate total="${personRoleInstanceTotal}" prev="&laquo; Previous" next="&raquo; Next" />
     49                <g:paginate total="${personRoleInstanceTotal}" prev="&laquo; Previous" next="&raquo; Next" params="${extraparams}" />
    4750            </div>
    4851        </div>
  • trunk/grails-app/views/personRole/show.gsp

    r496 r527  
    44    <head>
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    6         <meta name="layout" content="main" />
     6        <meta name="layout" content="${layout}" />
    77        <g:set var="entityName" value="${message(code: 'personRole.label', default: 'PersonRole')}" />
    88        <title><g:message code="default.show.label" args="['Role']" /></title>
     
    3232                <g:form>
    3333                    <g:hiddenField name="id" value="${personRoleInstance?.id}" />
     34                     <g:each in="${extraparams}" var="param">
     35                       <input type="hidden" name="${param.key}" value="${param.value}">
     36                     </g:each>
    3437                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
    3538                    <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>
    36                     <span class="button"><g:link class="backToList" action="list">Back to list</g:link></span>
     39                    <span class="button"><g:link class="backToList" action="list" params="${extraparams}">Back to list</g:link></span>
    3740                </g:form>
    3841            </div>
Note: See TracChangeset for help on using the changeset viewer.