Bugzilla – Attachment 195345 Details for
Bug 42096
Update patron clubs pages to use grid layout for forms
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 42096: Update patron clubs pages to use grid layout for forms
Bug-42096-Update-patron-clubs-pages-to-use-grid-la.patch (text/plain), 33.79 KB, created by
Owen Leonard
on 2026-03-13 16:30:16 UTC
(
hide
)
Description:
Bug 42096: Update patron clubs pages to use grid layout for forms
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2026-03-13 16:30:16 UTC
Size:
33.79 KB
patch
obsolete
>From bb5c4d7c588092f17d11343c44b8752cc2772868 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 12 Feb 2026 15:18:54 -0500 >Subject: [PATCH] Bug 42096: Update patron clubs pages to use grid layout for > forms > >This patch updates patron clubs-related templates with new markup and >CSS for layout forms using CSS grids. > >To test, apply the patch rebuild the staff interface CSS. > >Check the following pages, confirming that the "New" and >"Edit" versions of the form look correct in each case: > >- Tools -> Patron clubs -> New (or edit) club template >- Tools -> Patron clubs -> New (or edit) club >- Patrons -> Patron detail page -> Clubs tab -> Enroll > >Sponsored-by: Athens County Public Libraries >--- > .../prog/en/modules/clubs/clubs-add-modify.tt | 78 +++-- > .../prog/en/modules/clubs/patron-enroll.tt | 60 ++-- > .../en/modules/clubs/templates-add-modify.tt | 326 +++++++++++------- > 3 files changed, 282 insertions(+), 182 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt >index a4af8dae066..47c9b8e6f56 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt >@@ -50,7 +50,7 @@ > <input type="hidden" name="id" value="[% club.id | html %]" /> > <input type="hidden" name="club_template_id" value="[% club_template.id | html %]" /> > >- <fieldset class="rows"> >+ <fieldset class="fg"> > <legend> > <h1> > [% IF club %] >@@ -61,43 +61,64 @@ > </h1> > </legend> > >- <ol> >- <li> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label class="required" for="club-name">Name:</label> >+ </div> >+ <div class="fg-input"> > <input id="club-name" name="name" type="text" value="[% club.name | html %]" required="required" /> >- <span class="required">Required</span> >- </li> >+ </div> >+ <div class="required">Required</div> >+ </div> > >- <li> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="club-template-name">Description:</label> >+ </div> >+ <div class="fg-input"> > <input id="club-template-name" name="description" type="text" value="[% club.description | html %]" size="40" /> >- </li> >+ </div> >+ </div> > >- <li> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="from">Enrollment start date:</label> >+ </div> >+ <div class="fg-input"> > <input name="date_start" id="from" size="10" class="flatpickr" data-date_to="to" value="[% club.date_start | html %]" /> >- </li> >+ </div> >+ </div> > >- <li> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="to">Enrollment end date:</label> >+ </div> >+ <div class="fg-input"> > <input name="date_end" id="to" size="10" class="flatpickr" value="[% club.date_end | html %]" /> >- </li> >+ </div> >+ </div> > >- <li> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="club-template-branchcode">Library:</label> >+ </div> >+ <div class="fg-input"> > <select name="branchcode" id="club-template-branchcode"> >- <option value=""></option> >+ <option value="">None</option> > [% PROCESS options_for_libraries libraries => Branches.all( selected => club.branch.branchcode ) %] > </select> >- </li> >+ </div> >+ </div> > >- [% IF club %] >- [% FOREACH f IN club.club_fields %] >- <li> >+ [% IF club %] >+ [% FOREACH f IN club.club_fields %] >+ <div class="fg-row"> >+ <div class="fg-label"> > <input type="hidden" name="club_template_field_id" value="[% f.club_template_field.id | html %]" /> > <input type="hidden" name="club_field_id" value="[% f.id | html %]" /> >- > <label for="club_field_[% f.club_template_field_id | html %]">[% f.club_template_field.name | html %]</label> >+ </div> >+ <div class="fg-input"> > [% IF f.club_template_field.authorised_value_category %] > <select name="club_field" id="club_field_[% f.club_template_field_id | html %]"> > [% FOREACH a IN AuthorisedValues.Get( f.club_template_field.authorised_value_category ) %] >@@ -111,14 +132,17 @@ > [% ELSE %] > <input type="text" name="club_field" id="club_field_[% f.club_template_field_id | html %]" value="[% f.value | html %]" size="40" /> > [% END %] >- </li> >- [% END %] >- [% ELSE %] >- [% FOREACH f IN club_template.club_template_fields %] >- <li> >+ </div> >+ </div> >+ [% END %] >+ [% ELSE %] >+ [% FOREACH f IN club_template.club_template_fields %] >+ <div class="fg-row"> >+ <div class="fg-label"> > <input type="hidden" name="club_template_field_id" value="[% f.id | html %]" /> >- > <label for="club_template_field_[% f.id | html %]">[% f.name | html %]</label> >+ </div> >+ <div class="fg-input"> > [% IF f.authorised_value_category %] > <select name="club_field" id="club_template_field_[% f.id | html %]"> > [% FOREACH a IN AuthorisedValues.Get( f.authorised_value_category ) %] >@@ -128,10 +152,10 @@ > [% ELSE %] > <input type="text" name="club_field" id="club_template_field_[% f.id | html %]" size="40" /> > [% END %] >- </li> >- [% END %] >+ </div> >+ </div> > [% END %] >- </ol> >+ [% END %] > </fieldset> > > <fieldset class="action"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt >index 3f37ed910b0..c168a7f6cca 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt >@@ -7,16 +7,18 @@ > <input type="hidden" name="id" value="[% club.id | html %]" /> > <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> > <input type="hidden" name="enrollent_id" value="[% enrollent_id | html %]" /> >- <fieldset class="rows"> >- <ol> >- [% IF club_enrollment_fields %] >- [% FOREACH f IN club.club_template.club_template_enrollment_fields %] >- [% FOREACH c IN club_enrollment_fields %] >- [% IF f.id == c.club_template_enrollment_field_id %] >- <li> >- <label>[% f.name | html %]</label> >+ <fieldset class="fg"> >+ [% IF club_enrollment_fields %] >+ [% FOREACH f IN club.club_template.club_template_enrollment_fields %] >+ [% FOREACH c IN club_enrollment_fields %] >+ [% IF f.id == c.club_template_enrollment_field_id %] >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="club_enrollment_field_[% f.id | html %]">[% f.name | html %]</label> >+ </div> >+ <div class="fg-input"> > [% IF f.authorised_value_category %] >- <select name="[% f.id | html %]"> >+ <select id="club_enrollment_field_[% f.id | html %]" name="[% f.id | html %]"> > [% FOREACH a IN AuthorisedValues.Get( f.authorised_value_category ) %] > [% IF a.authorised_value == c.value %] > <option value="[% a.authorised_value | html %]" selected="selected">[% a.lib | html %]</option> >@@ -26,35 +28,39 @@ > [% END %] > </select> > [% ELSE %] >- <input type="text" name="[% f.id | html %]" value="[% c.value | html %]" /> >+ <input id="club_enrollment_field_[% f.id | html %]" type="text" name="[% f.id | html %]" value="[% c.value | html %]" /> > [% END %] >- <span class="hint">[% f.description | html %]</span> >- </li> >- [% END %] >+ </div> >+ <div class="hint">[% f.description | html %]</div> >+ </div> > [% END %] > [% END %] >- [% ELSE %] >- [% FOREACH f IN club.club_template.club_template_enrollment_fields %] >- <li> >- <label>[% f.name | html %]</label> >+ [% END %] >+ [% ELSE %] >+ [% FOREACH f IN club.club_template.club_template_enrollment_fields %] >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="club_enrollment_field_[% f.id | html %]">[% f.name | html %]</label> >+ </div> >+ <div class="fg-input"> > [% IF f.authorised_value_category %] >- <select name="[% f.id | html %]"> >+ <select id="club_enrollment_field_[% f.id | html %]" name="[% f.id | html %]"> > [% FOREACH a IN AuthorisedValues.Get( f.authorised_value_category ) %] > <option value="[% a.authorised_value | html %]">[% a.lib | html %]</option> > [% END %] > </select> > [% ELSE %] >- <input type="text" name="[% f.id | html %]" /> >+ <input id="club_enrollment_field_[% f.id | html %]" type="text" name="[% f.id | html %]" /> > [% END %] >- <span class="hint">[% f.description | html %]</span> >- </li> >- [% END %] >+ </div> >+ <div class="hint">[% f.description | html %]</div> >+ </div> > [% END %] >- <li> >- <a href="#" class="btn btn-sm btn-default" onclick="addEnrollment(); return false;">Finish enrollment</a> >- <a class="cancel" href="#" onclick="showClubs(); return false;">Cancel</a> >- </li> >- </ol> >+ [% END %] >+ </fieldset> >+ <fieldset class="action"> >+ <a href="#" class="btn btn-primary" onclick="addEnrollment(); return false;">Finish enrollment</a> >+ <a class="cancel" href="#" onclick="showClubs(); return false;">Cancel</a> > </fieldset> > </form> > </div> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt >index 86838b098a9..e30d44d32e1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt >@@ -22,6 +22,7 @@ > .club-field, > .enrollment-field { > border-top: 1px solid #ddd; >+ padding-top: 1rem; > } > </style> > </head> >@@ -62,131 +63,175 @@ > [% END %] > </h1> > >- <fieldset class="rows"> >- <ol> >- <li> >- <label class="required" for="name">Name:</label> >+ <fieldset class="fg"> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label class="required" for="club-template-name">Name:</label> >+ </div> >+ <div class="fg-input"> > <input id="club-template-name" name="name" type="text" value="[% club_template.name | html %]" required="required" /> >- <span class="required">Required</span> >- </li> >+ </div> >+ <div class="required">Required</div> >+ </div> > >- <li> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="club-template-description">Description:</label> >+ </div> >+ <div class="fg-input"> > <input id="club-template-description" name="description" type="text" value="[% club_template.description | html %]" /> >- </li> >+ </div> >+ </div> > >- <li> >- <label for="club-template-is-enrollable-from-opac">Allow public enrollment:</label> >+ <div class="fg-row input-checkbox"> >+ <div class="fg-label"> >+ <label for="club-template-is-enrollable-from-opac">Allow public enrollment</label> >+ </div> >+ <div class="fg-input"> > [% IF club_template.is_enrollable_from_opac %] > <input type="checkbox" id="club-template-is-enrollable-from-opac" name="is_enrollable_from_opac" checked="checked" /> > [% ELSE %] > <input type="checkbox" id="club-template-is-enrollable-from-opac" name="is_enrollable_from_opac" /> > [% END %] >- <span class="hint">If a template allows public enrollment, patrons can enroll in a club based on this template from the public catalog.</span> >- </li> >+ </div> >+ <div class="hint">If a template allows public enrollment, patrons can enroll in a club based on this template from the public catalog.</div> >+ </div> > >- <li> >- <label for="club-template-is-email-required">Require valid email address:</label> >+ <div class="fg-row input-checkbox"> >+ <div class="fg-label"> >+ <label for="club-template-is-email-required">Require valid email address</label> >+ </div> >+ <div class="fg-input"> > [% IF club_template.is_email_required %] > <input type="checkbox" id="club-template-is-email-required" name="is_email_required" checked="checked" /> > [% ELSE %] > <input type="checkbox" id="club-template-is-email-required" name="is_email_required" /> > [% END %] >- <span class="hint">If set, a club based on this template can only be enrolled in by patrons with a valid email address.</span> >- </li> >+ </div> >+ <div class="hint">If set, a club based on this template can only be enrolled in by patrons with a valid email address.</div> >+ </div> > >- <li> >+ <div class="fg-row"> >+ <div class="fg-label"> > <label for="club-template-branchcode">Library:</label> >+ </div> >+ <div class="fg-input"> > <select name="branchcode" id="club-template-branchcode"> >- <option value=""></option> >+ <option value="">None</option> > [% PROCESS options_for_libraries libraries => Branches.all( selected => club_template.branchcode ) %] > </select> >- <div class="hint">If set, only librarians logged in with this branch will be able to modify this club template.</div> >- </li> >- </ol> >+ </div> >+ <div class="hint">If set, only librarians logged in with this branch will be able to modify this club template.</div> >+ </div> > </fieldset> > >- <fieldset class="rows"> >- <legend>Club fields:</legend> >+ <div class="page-section"> >+ <h2>Club fields</h2> > <p><span class="hint">These fields will be used in the creation of clubs based on this template</span></p> > <div id="club-template-fields"> >- [% FOREACH f IN club_template.club_template_fields %] >- <div class="club-field"> >- <ol class="clearfix"> >+ <fieldset class="fg"> >+ [% FOREACH f IN club_template.club_template_fields %] >+ <div class="club-field"> > <input type="hidden" name="club_template_field_id" value="[% f.id | html %]" /> >- <li> >- <label for="field-name-[% f.id | html %]">Name:</label> >- <input type="text" name="club_template_field_name" id="field-name-[% f.id | html %]" value="[% f.name | html %]" /> >- </li> >- >- <li> >- <label for="field-description-[% f.id | html %]">Description:</label> >- <input type="text" name="club_template_field_description" id="field-description-[% f.id | html %]" value="[% f.description | html %]" /> >- </li> > >- <li> >- <label for="field-authorised-value-category-[% f.id | html %]">Authorised value category:</label> >- <select name="club_template_field_authorised_value_category" id="field-authorised-value-category-[% f.id | html %]"> >- <option value=""></option> >- [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => f.authorised_value_category) %] >- </select> >- </li> >- >- <li> >- <label for="field-delete-[% f.id | html %]">Delete field:</label> >- <input type="checkbox" name="club_template_field_delete" id="field-delete-[% f.id | html %]" value="[% f.id | html %]" /> >- </li> >- </ol> >- </div> >- [% END %] >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="field-name-[% f.id | html %]">Name:</label> >+ </div> >+ <div class="fg-input"> >+ <input type="text" name="club_template_field_name" id="field-name-[% f.id | html %]" value="[% f.name | html %]" /> >+ </div> >+ </div> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="field-description-[% f.id | html %]">Description:</label> >+ </div> >+ <div class="fg-input"> >+ <input type="text" name="club_template_field_description" id="field-description-[% f.id | html %]" value="[% f.description | html %]" /> >+ </div> >+ </div> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="field-authorised-value-category-[% f.id | html %]">Authorised value category:</label> >+ </div> >+ <div class="fg-input"> >+ <select name="club_template_field_authorised_value_category" id="field-authorised-value-category-[% f.id | html %]"> >+ <option value="">None</option> >+ [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => f.authorised_value_category) %] >+ </select> >+ </div> >+ </div> >+ <div class="fg-row input-checkbox"> >+ <div class="fg-label"> >+ <label for="field-delete-[% f.id | html %]">Check to delete this field upon saving</label> >+ </div> >+ <div class="fg-input"> >+ <input type="checkbox" name="club_template_field_delete" id="field-delete-[% f.id | html %]" value="[% f.id | html %]" /> >+ </div> >+ </div> >+ </div> >+ [% END %] >+ </fieldset> > </div> > <fieldset class="action"> > <a href="#" class="add_club_field"> <i class="fa fa-plus"></i> Add new field </a> > </fieldset> >- </fieldset> >+ </div> > >- <fieldset class="rows"> >- <legend>Enrollment fields</legend> >+ <div class="page-section"> >+ <h2>Enrollment fields</h2> > <p><span class="hint">These fields will be used when enrolling a patron in a club based on this template</span></p> > <div id="club-template-enrollment-fields"> >- [% FOREACH f IN club_template.club_template_enrollment_fields %] >- <div class="enrollment-field"> >- <ol class="clearfix"> >- <li> >- <span class="label"> </span> >- <strong>Enrollment field</strong> >- </li> >- <li> >- <input type="hidden" name="club_template_enrollment_field_id" value="[% f.id | html %]" /> >- <label for="enrollment-field-name-[% f.id | html %]">Name:</label> >- <input type="text" name="club_template_enrollment_field_name" id="enrollment-field-name-[% f.id | html %]" value="[% f.name | html %]" size="40" /> >- </li> >+ <fieldset class="fg"> >+ [% FOREACH f IN club_template.club_template_enrollment_fields %] >+ <div class="enrollment-field"> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <input type="hidden" name="club_template_enrollment_field_id" value="[% f.id | html %]" /> >+ <label for="enrollment-field-name-[% f.id | html %]">Name:</label> >+ </div> >+ <div class="fg-input"> >+ <input type="text" name="club_template_enrollment_field_name" id="enrollment-field-name-[% f.id | html %]" value="[% f.name | html %]" /> >+ </div> >+ </div> > >- <li> >- <label for="enrollment-field-description-[% f.id | html %]">Description:</label> >- <input type="text" name="club_template_enrollment_field_description" id="enrollment-field-description-[% f.id | html %]" value="[% f.description | html %]" size="40" /> >- </li> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="enrollment-field-description-[% f.id | html %]">Description:</label> >+ </div> >+ <div class="fg-input"> >+ <input type="text" name="club_template_enrollment_field_description" id="enrollment-field-description-[% f.id | html %]" value="[% f.description | html %]" /> >+ </div> >+ </div> > >- <li> >- <label for="enrollment-field-authorised-value-category-[% f.id | html %]">Authorised value category:</label> >- <select name="club_template_enrollment_field_authorised_value_category" id="enrollment-field-authorised-value-category-[% f.id | html %]"> >- <option value=""></option> >- [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => f.authorised_value_category) %] >- </select> >- </li> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="enrollment-field-authorised-value-category-[% f.id | html %]">Authorised value category:</label> >+ </div> >+ <div class="fg-input"> >+ <select name="club_template_enrollment_field_authorised_value_category" id="enrollment-field-authorised-value-category-[% f.id | html %]"> >+ <option value="">None</option> >+ [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => f.authorised_value_category) %] >+ </select> >+ </div> >+ </div> > >- <li> >- <label for="enrollment-field-delete-[% f.id | html %]">Delete field:</label> >- <input type="checkbox" name="club_template_enrollment_field_delete" id="enrollment-field-delete-[% f.id | html %]" value="[% f.id | html %]" /> >- </li> >- </ol> >- </div> >- [% END %] >+ <div class="fg-row input-checkbox"> >+ <div class="fg-label"> >+ <label for="enrollment-field-delete-[% f.id | html %]">Check to delete this field upon saving</label> >+ </div> >+ <div class="fg-input"> >+ <input type="checkbox" name="club_template_enrollment_field_delete" id="enrollment-field-delete-[% f.id | html %]" value="[% f.id | html %]" /> >+ </div> >+ </div> >+ </div> >+ [% END %] >+ </fieldset> > </div> > <fieldset class="action"> > <a href="#" class="add_enrollment_field"> <i class="fa fa-plus"></i> Add new field </a> > </fieldset> >- </fieldset> >+ </div> > > <fieldset class="action"> > <input type="hidden" name="id" value="[% club_template.id | html %]" /> >@@ -197,58 +242,83 @@ > [% END %] > > <div id="new-field-template" class="club-field" style="display:none"> >- <h4 style="margin-left:1em;">New club field</h4> >- <input type="hidden" name="club_template_field_id" value="" /> >- <ol class="clearfix"> >- <li> >- <label for="club_template_field_name">Name:</label> >- <input type="text" name="club_template_field_name" /> >- </li> >+ <fieldset class="fg"> >+ <legend>New club field</legend> >+ <input type="hidden" name="club_template_field_id" value="" /> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="club_template_field_name">Name:</label> >+ </div> >+ <div class="fg-input"> >+ <input type="text" name="club_template_field_name" /> >+ </div> >+ </div> > >- <li> >- <label for="club_template_field_description">Description:</label> >- <input type="text" name="club_template_field_description" /> >- </li> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="club_template_field_description">Description:</label> >+ </div> >+ <div class="fg-input"> >+ <input type="text" name="club_template_field_description" /> >+ </div> >+ </div> > >- <li> >- <label for="club_template_field_authorised_value_category">Authorised value category:</label> >- <select name="club_template_field_authorised_value_category"> >- <option value=""></option> >- [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories() %] >- </select> >- </li> >- </ol> >- <fieldset class="action" >- ><a href="#" class="delete_club_field"><i class="fa fa-trash-can"></i> Delete field</a></fieldset >- > >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="club_template_field_authorised_value_category">Authorised value category:</label> >+ </div> >+ <div class="fg-input"> >+ <select name="club_template_field_authorised_value_category"> >+ <option value="">None</option> >+ [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories() %] >+ </select> >+ </div> >+ </div> >+ </fieldset> >+ <fieldset class="action"> >+ <a href="#" class="delete_club_field"><i class="fa fa-trash-can"></i> Delete field</a> >+ </fieldset> > <hr /> > </div> > > <div id="new-enrollment-field-template" class="enrollment-field" style="display:none"> >- <h4 style="margin-left:1em;">New enrollment field</h4> >- <input type="hidden" name="club_template_enrollment_field_id" value="" /> >- <ol class="clearfix"> >- <li> >- <label for="club_template_enrollment_field_name">Name:</label> >- <input type="text" name="club_template_enrollment_field_name" /> >- </li> >+ <fieldset class="fg"> >+ <legend>New enrollment field</legend> >+ <input type="hidden" name="club_template_enrollment_field_id" value="" /> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="club_template_enrollment_field_name">Name:</label> >+ </div> >+ <div class="fg-input"> >+ <input type="text" name="club_template_enrollment_field_name" /> >+ </div> >+ </div> > >- <li> >- <label for="club_template_enrollment_field_description">Description:</label> >- <input type="text" name="club_template_enrollment_field_description" /> >- </li> >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="club_template_enrollment_field_description">Description:</label> >+ </div> >+ <div class="fg-input"> >+ <input type="text" name="club_template_enrollment_field_description" /> >+ </div> >+ </div> > >- <li> >- <label for="club_template_enrollment_field_authorised_value_category">Authorised value category:</label> >- <select name="club_template_enrollment_field_authorised_value_category"> >- <option value=""></option> >- [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories() %] >- </select> >- </li> >- </ol> >- <fieldset class="action" >- ><a href="#" class="delete_enrollment_field"><i class="fa fa-trash-can"></i> Delete field</a></fieldset >- > >+ <div class="fg-row"> >+ <div class="fg-label"> >+ <label for="club_template_enrollment_field_authorised_value_category">Authorised value category:</label> >+ </div> >+ <div class="fg-input"> >+ <select name="club_template_enrollment_field_authorised_value_category"> >+ <option value="">None</option> >+ [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories() %] >+ </select> >+ </div> >+ </div> >+ </fieldset> >+ <fieldset class="action"> >+ <a href="#" class="delete_enrollment_field"><i class="fa fa-trash-can"></i> Delete field</a> >+ </fieldset> >+ <hr /> > </div> > > [% MACRO jsinclude BLOCK %] >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 42096
: 195345