Changeset 346 for trunk/grails-app
- Timestamp:
- Feb 10, 2010, 3:25:16 AM (15 years ago)
- Location:
- trunk/grails-app/views/maintenancePolicy
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/maintenancePolicy/edit.gsp
r268 r346 56 56 </tr> 57 57 58 <tr class="prop">59 <td valign="top" class="name">60 <label for="maintenanceActions">Maintenance Actions:</label>61 </td>62 <td valign="top" class="value ${hasErrors(bean:maintenancePolicyInstance,field:'maintenanceActions','errors')}">63 64 <ul>65 <g:each var="m" in="${maintenancePolicyInstance?.maintenanceActions?}">66 <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>67 </g:each>68 </ul>69 <g:link controller="maintenanceAction" params="['maintenancePolicy.id':maintenancePolicyInstance?.id]" action="create">Add MaintenanceAction</g:link>70 71 </td>72 </tr>73 74 58 </tbody> 75 59 </table> -
trunk/grails-app/views/maintenancePolicy/show.gsp
r268 r346 50 50 </tr> 51 51 52 <tr class="prop">53 <td valign="top" class="name">Maintenance Actions:</td>54 55 <td valign="top" style="text-align:left;" class="value">56 <ul>57 <g:each var="m" in="${maintenancePolicyInstance.maintenanceActions}">58 <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>59 </g:each>60 </ul>61 </td>62 63 </tr>64 65 52 </tbody> 66 53 </table>
Note: See TracChangeset
for help on using the changeset viewer.