source: trunk/grails-app/views/wizard/common/_tabs.gsp @ 359

Last change on this file since 359 was 359, checked in by duh, 11 years ago
  • set keyword expansion
  • Property svn:keywords set to Date Author Rev
File size: 766 bytes
Line 
1<%
2/**
3 * Wizard tab header
4 *
5 * @author  Jeroen Wesbeek
6 * @since   20100113
7 * @package wizard
8 * @see     dbnp.studycapturing.WizardTagLib::previousNext
9 * @see     dbnp.studycapturing.WizardController
10 *
11 * Revision information:
12 * $Rev: 359 $
13 * $Author: duh $
14 * $Date: 2010-04-20 12:42:20 +0000 (di, 20 apr 2010) $
15 */
16%>
17<div class="tabs">
18 <ul>
19  <g:each status="i" var="item" in="${pages}">
20          <li<g:if test="${(i == (page-1))}"> class="active"</g:if>>
21                <g:if test="${(i > 0)}"><img src="../images/wizard/arrowR.gif" align="absmiddle" class="arrow"></g:if><g:else>&nbsp;</g:else>
22                <span class="content">${i+1}. ${item.title}</span>
23                <g:if test="${(i < (pages.size() - 1))}"><img src="../images/wizard/arrowL.gif" align="absmiddle" class="arrow"></g:if><g:else>&nbsp;</g:else>
24          </li>
25  </g:each>
26 </ul>
27</div>
Note: See TracBrowser for help on using the repository browser.