This patch updates serials templates so that fieldsets with the
"action" class are placed outside the form's main fieldset.
To test, apply the patch and rebuild the staff interface CSS. Go to
serials and check the following pages to confirm that changes to
form structure look correct:
- Navigate directly to /cgi-bin/koha/serials/serials-search.pl
- Check the form on this page.
- Perform a subscription search. On the search results page, check
the sidebar form.
- Click "Manage numbering patterns" in the left-hand sidebar menu.
- Click "New numbering pattern" and check the forms on that page.
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
[% IF ( mana ) %]
<input type="hidden" name="mana" value="1" />
[% END %]
- <fieldset class="action">
- <input type="submit" class="btn btn-primary" value="Search" />
- </fieldset>
</fieldset> <!-- /.rows -->
+ <fieldset class="action">
+ <input type="submit" class="btn btn-primary" value="Search" />
+ </fieldset>
</form>
</div> <!-- /#advsearch -->
[% IF (basketno) %]
<input type="hidden" name="basketno" value="[% basketno | html %]" />
[% END %]
- <fieldset class="action">
- <input type="submit" class="btn btn-primary" value="Search" />
- </fieldset>
</div>
</fieldset>
+ <fieldset class="action">
+ <input type="submit" class="btn btn-primary" value="Search" />
+ </fieldset>
</form>
</div>
</tr>
</tbody>
</table>
- <fieldset class="action">
- <button type="button" id="test_pattern" class="btn btn-default">Test pattern</button>
- </fieldset>
<div id="predictionpattern"></div>
</fieldset>
+ <fieldset class="action">
+ <button type="button" id="test_pattern" class="btn btn-default">Test pattern</button>
+ </fieldset>
</form>
[% ELSE %]