File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4444 < %- donation = author.donation.0.id %>
4545 < label > < input name ="donations " type ="checkbox "< % IF donation %> checked="checked"< % END %> onchange="$('#donations').slideToggle()" /> Accept donations</ label >
4646 < div id ="donations "< % UNLESS donation %> style="display: none"< % END %> >
47- < % FOREACH system IN ['PayPal', 'Wishlist']; found = author.donation.grep(-> (a){ a.id == system.lower }) %>
47+ < % FOREACH system IN ['PayPal', 'Wishlist']; found = author.donation.grep(-> (a){ a.name == system.lower }) %>
4848 < label class ="<% system.lower %> ">
49- < span > < % lower %> </ span >
49+ < span > < % system %> </ span >
5050 < input type ="hidden " name ="donation.name " value ="<% system.lower %> " />
51- < input type ="text " name ="donation.id "< % IF found.size %> value="< % found.0.name %> "< % END %> />
51+ < input type ="text " name ="donation.id "< % IF found.size %> value="< % found.0.id %> "< % END %> />
5252 </ label >
5353 < % END %>
5454 </ div >
You can’t perform that action at this time.
0 commit comments