To test:
1. Go to Home > Tools > Batch item deletion
2. Notice that there is an unnecessary option for "use default values
section" to "Populate fields with default values from default work"
3. Apply the patch.
4. Check that this section has disappeared.
Signed-off-by: Nick <Nick@quechelibrary.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
</fieldset>
<input type="hidden" name="op" value="show" />
- <fieldset class="rows">
- <legend>Use default values</legend>
- <ol class="radio">
- <li>
- <label>
- <input type="checkbox" name="use_default_values" id="use_default_values" />
- Populate fields with default values from default framework
- </label>
- </li>
- </ol>
- </fieldset>
+ [% UNLESS del %]
+ <fieldset class="rows">
+ <legend>Use default values</legend>
+ <ol class="radio">
+ <li>
+ <label>
+ <input type="checkbox" name="use_default_values" id="use_default_values" />
+ Populate fields with default values from default framework
+ </label>
+ </li>
+ </ol>
+ </fieldset>
+ [% END %]
[% IF ( del ) %]<input type="hidden" name="del" value="1" />[% END %]
<fieldset class="action">