Commit 1b00d750 authored by Guillaume Lépine's avatar Guillaume Lépine
Browse files

FORMS-698 : use macro formBreadCrumb

parent daefac1c
<@formBreadCrumb>
<li><@link href='jsp/admin/plugins/forms/ManageSteps.jsp?view=manageSteps&id_form=${step.idForm}' title='#i18n{forms.create_form.button.backForm}'>...</@link></li>
<li><@link href='jsp/admin/plugins/forms/ManageQuestions.jsp?view=manageQuestions&id_step=${step.id}' title='#i18n{forms.create_form.button.backStep}'>${step.title}</@link></li>
<li class="active">#i18n{forms.create_group.title}</li>
<@breadcrumbItem><@link href='jsp/admin/plugins/forms/ManageSteps.jsp?view=manageSteps&id_form=${step.idForm}' title='#i18n{forms.create_form.button.backForm}'>${form.title}</@link></@breadcrumbItem>
<@breadcrumbItem><@link href='jsp/admin/plugins/forms/ManageQuestions.jsp?view=manageQuestions&id_step=${step.id}' title='#i18n{forms.create_form.button.backStep}'>${step.title}</@link></@breadcrumbItem>
<@breadcrumbItem class='active is-active'>#i18n{forms.create_group.title}</@breadcrumbItem>
</@formBreadCrumb>
<@row>
<@columns>
......
......@@ -11,7 +11,7 @@
</#if>
</@boxHeader>
<@boxBody>
<@formBreadCrumb><@li class='active'>${form.title!}</@li></@formBreadCrumb>
<@formBreadCrumb><@breadcrumbItem>${form.title!}</@breadcrumbItem></@formBreadCrumb>
<@formTabs tab="export" />
<@row>
<@columns xs=12 sm=3 offsetSm=1>
......
......@@ -34,7 +34,7 @@
</#if>
</@boxHeader>
<@boxBody>
<@formBreadCrumb><@li class='active'>${form.title!}</@li></@formBreadCrumb>
<@formBreadCrumb><@breadcrumbItem>${form.title!}</@breadcrumbItem></@formBreadCrumb>
<@formTabs tab='steps' />
<@tabContent>
<@tabPanel id='tabpanel' active=true>
......
......@@ -15,8 +15,8 @@
<@boxHeader title='${form.title}' />
<@boxBody>
<@formBreadCrumb>
<@li><@link href='jsp/admin/plugins/forms/ManageSteps.jsp?view=manageSteps&id_form=${form.id}' title='Liste des étapes'>${form.title}</@link></@li>
<@li class='active'>${step.title}</@li>
<@breadcrumbItem><@link href='jsp/admin/plugins/forms/ManageSteps.jsp?view=manageSteps&id_form=${form.id}' title='Liste des étapes'>${form.title}</@link></@breadcrumbItem>
<@breadcrumbItem>${step.title}</@breadcrumbItem>
</@formBreadCrumb>
<@tabs color='clearfix'>
<@formStepTabs tab="transitions" />
......
......@@ -12,7 +12,7 @@
</#if>
</@boxHeader>
<@boxBody>
<@formBreadCrumb><@li class='active'>${form.title!}</@li></@formBreadCrumb>
<@formBreadCrumb><@breadcrumbItem>${form.title!}</@breadcrumbItem></@formBreadCrumb>
<@formTabs tab="general" />
<@input type='hidden' id='id_form' name='id_form' value='${form.id}' />
<@tabContent>
......
<@formBreadCrumb>
<li><@link href='jsp/admin/plugins/forms/ManageSteps.jsp?view=manageSteps&id_form=${step.idForm}' title='#i18n{forms.create_form.button.backForm}'>...</@link></li>
<li><@link href='jsp/admin/plugins/forms/ManageQuestions.jsp?view=manageQuestions&id_step=${step.id}' title='#i18n{forms.create_form.button.backStep}'>${step.title}</@link></li>
<li class="active">#i18n{forms.create_group.title}</li>
<@breadcrumbItem><@link href='jsp/admin/plugins/forms/ManageSteps.jsp?view=manageSteps&id_form=${step.idForm}' title='#i18n{forms.create_form.button.backForm}'>${form.title}</@link></@breadcrumbItem>
<@breadcrumbItem><@link href='jsp/admin/plugins/forms/ManageQuestions.jsp?view=manageQuestions&id_step=${step.id}' title='#i18n{forms.create_form.button.backStep}'>${step.title}</@link></@breadcrumbItem>
<@breadcrumbItem class='active is-active'>#i18n{forms.create_group.title}</@breadcrumbItem>
</@formBreadCrumb>
<@row>
<@columns>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment