Bug 10565: (follow-up) make add list/edit list labels sensitive to context
This patch fixes a problem where the form for editing an existing list would be labeled as if a new list were being created. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
32e662f0c7
commit
353e000e2a
1 changed files with 14 additions and 2 deletions
|
@ -27,12 +27,24 @@ function CheckForm() {
|
|||
|
||||
<div class="yui-t7">
|
||||
<div class="yui-main">
|
||||
<h1>New patron list</h1>
|
||||
<h1>
|
||||
[% IF list.patron_list_id %]
|
||||
Modify patron list
|
||||
[% ELSE %]
|
||||
New patron list
|
||||
[% END %]
|
||||
</h1>
|
||||
|
||||
<form method="post" onsubmit="return CheckForm()">
|
||||
<fieldset class="rows">
|
||||
|
||||
<legend>Create a new patron list</legend>
|
||||
<legend>
|
||||
[% IF list.patron_list_id %]
|
||||
Modify patron list
|
||||
[% ELSE %]
|
||||
Create a new patron list
|
||||
[% END %]
|
||||
</legend>
|
||||
|
||||
<ol>
|
||||
<li>
|
||||
|
|
Loading…
Reference in a new issue