Ignore:
Timestamp:
Feb 1, 2010, 10:09:46 AM (14 years ago)
Author:
gav
Message:

Add a create site link to asset tree taglib if there are no sites yet.
Add a create department link to section create and edit views.

File:
1 edited

Legend:

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

    r273 r308  
    5959                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'department','errors')}">
    6060                                    <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${sectionInstance?.department?.id}" ></g:select>
     61                                    <p>
     62                                        <g:link controller="departmentDetailed" action="create">Add Department</g:link>
     63                                    </p>
    6164                                </td>
    6265                            </tr>
Note: See TracChangeset for help on using the changeset viewer.