Changeset 122 for trunk/grails-app/views/site
- Timestamp:
- May 1, 2009, 3:27:41 PM (16 years ago)
- Location:
- trunk/grails-app/views/site
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/site/edit.gsp
r116 r122 73 73 </tr> 74 74 75 <tr class="prop"> 76 <td valign="top" class="name"> 77 <label for="systemSections">System Sections:</label> 78 </td> 79 <td valign="top" class="value ${hasErrors(bean:siteInstance,field:'systemSections','errors')}"> 80 81 <ul> 82 <g:each var="s" in="${siteInstance?.systemSections?}"> 83 <li><g:link controller="systemSection" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 84 </g:each> 85 </ul> 86 <g:link controller="systemSection" params="['site.id':siteInstance?.id]" action="create">Add SystemSection</g:link> 87 88 </td> 89 </tr> 90 75 91 </tbody> 76 92 </table> -
trunk/grails-app/views/site/show.gsp
r116 r122 64 64 </tr> 65 65 66 <tr class="prop"> 67 <td valign="top" class="name">System Sections:</td> 68 69 <td valign="top" style="text-align:left;" class="value"> 70 <ul> 71 <g:each var="s" in="${siteInstance.systemSections}"> 72 <li><g:link controller="systemSection" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 73 </g:each> 74 </ul> 75 </td> 76 77 </tr> 78 66 79 </tbody> 67 80 </table>
Note: See TracChangeset
for help on using the changeset viewer.