Changeset 268 for trunk/grails-app/views/site/edit.gsp
- Timestamp:
- Jan 14, 2010, 10:51:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/site/edit.gsp
r178 r268 49 49 <tr class="prop"> 50 50 <td valign="top" class="name"> 51 <label for="costCode">Cost Code:</label>52 </td>53 <td valign="top" class="value ${hasErrors(bean:siteInstance,field:'costCode','errors')}">54 <input type="text" id="costCode" name="costCode" value="${fieldValue(bean:siteInstance,field:'costCode')}"/>55 </td>56 </tr>57 58 <tr class="prop">59 <td valign="top" class="name">60 <label for="inventoryStores">Inventory Stores:</label>61 </td>62 <td valign="top" class="value ${hasErrors(bean:siteInstance,field:'inventoryStores','errors')}">63 64 <ul>65 <g:each var="i" in="${siteInstance?.inventoryStores?}">66 <li><g:link controller="inventoryStore" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>67 </g:each>68 </ul>69 <g:link controller="inventoryStore" params="['site.id':siteInstance?.id]" action="create">Add InventoryStore</g:link>70 71 </td>72 </tr>73 74 <tr class="prop">75 <td valign="top" class="name">76 51 <label for="isActive">Is Active:</label> 77 52 </td> … … 83 58 <tr class="prop"> 84 59 <td valign="top" class="name"> 85 <label for="s ystemSections">SystemSections:</label>60 <label for="sections">Sections:</label> 86 61 </td> 87 <td valign="top" class="value ${hasErrors(bean:siteInstance,field:'s ystemSections','errors')}">62 <td valign="top" class="value ${hasErrors(bean:siteInstance,field:'sections','errors')}"> 88 63 89 64 <ul> 90 <g:each var="s" in="${siteInstance?.s ystemSections?}">91 <li><g:link controller="s ystemSection" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>65 <g:each var="s" in="${siteInstance?.sections?}"> 66 <li><g:link controller="section" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 92 67 </g:each> 93 68 </ul> 94 <g:link controller="systemSection" params="['site.id':siteInstance?.id]" action="create">Add SystemSection</g:link> 69 <g:link controller="section" params="['site.id':siteInstance?.id]" action="create">Add Section</g:link> 70 71 </td> 72 </tr> 73 74 <tr class="prop"> 75 <td valign="top" class="name"> 76 <label for="siteExtendedAttributes">Site Extended Attributes:</label> 77 </td> 78 <td valign="top" class="value ${hasErrors(bean:siteInstance,field:'siteExtendedAttributes','errors')}"> 79 80 <ul> 81 <g:each var="s" in="${siteInstance?.siteExtendedAttributes?}"> 82 <li><g:link controller="siteExtendedAttribute" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> 83 </g:each> 84 </ul> 85 <g:link controller="siteExtendedAttribute" params="['site.id':siteInstance?.id]" action="create">Add SiteExtendedAttribute</g:link> 95 86 96 87 </td>
Note: See TracChangeset
for help on using the changeset viewer.