Minor corrections to form layouts
authorOwen Leonard <oleonard@myacpl.org>
Tue, 4 Dec 2007 21:00:04 +0000 (15:00 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 4 Dec 2007 21:06:19 +0000 (15:06 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/members/member-password.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tmpl

index 642aed0..469d8c2 100644 (file)
        <li><label for="amount">Amount: </label><input type="text" name="amount" id="amount" /></li>
 </ol></fieldset>
 
-<input type="submit" name="add" value="Add Credit" />
+<fieldset class="action"><input type="submit" name="add" value="Add Credit" /> <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a></fieldset>
 </form>
 
-<form action="/cgi-bin/koha/members/boraccount.pl" method="get"><input type="hidden" value="<!-- TMPL_VAR Name="borrowernumber" -->" name="borrowernumber" /><input type="submit" value="Cancel" /></form>
-
 </div></div>
 
 </div>
index a862034..070ecbe 100644 (file)
        <li><label for="desc">Description: </label><input type="text" name="desc" id="desc" size="50" /></li>
        <li><label for="amount">Amount: </label><input type="text" name="amount" id="amount" /></li>
        </ol></fieldset>
-<input type="submit" name="add" value="Save" />
+<fieldset class="action"><input type="submit" name="add" value="Save" /> <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a></fieldset>
 </form>
 
-<form action="/cgi-bin/koha/members/boraccount.pl" method="get"><input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR Name="borrowernumber" -->" /><input type="submit" value="Cancel" /></form>
-
 <!-- /TMPL_IF -->
 </div></div>
 
index 68e9486..54835de 100644 (file)
@@ -46,8 +46,8 @@
        <!-- TMPL_IF NAME="minPasswordLength" --><div class="hint">Minimum password length: <!-- TMPL_VAR NAME="minPasswordLength" --></div><!-- /TMPL_IF -->
        <input name="newpassword"  id="newpassword" type="text" size="20" value="<!-- TMPL_VAR NAME="defaultnewpassword" -->" /></li>
        </ol>
-       <fieldset class="action"><input type="submit" value="Save" /></fieldset>
 </fieldset>
+       <fieldset class="action"><input type="submit" value="Save" /> <a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a></fieldset>
 </form><!-- /TMPL_IF -->
 
 </div>
index b16a85f..e0d0366 100644 (file)
@@ -74,7 +74,7 @@
 <!--/TMPL_IF-->
 <!-- /TMPL_LOOP  -->
 </table>
-<input type="submit" name="submit"  value="Make Payment" class="submit" /></form><!-- TMPL_ELSE --><p><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> has no outstanding fines.</p><!-- /TMPL_IF -->
+<fieldset class="action"><input type="submit" name="submit"  value="Make Payment" class="submit" /> <a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a></fieldset></form><!-- TMPL_ELSE --><p><!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> has no outstanding fines.</p><!-- /TMPL_IF -->
 </div></div>
 
 </div>