<% end %>
</select></td></tr>
<tr> <td align="right"><b>Initial transaction amount</b>:</td> <td><input name="amount"></td> </tr>
-<tr> <td align="right"><b>Initial transaction description</b>:</td> <td><input name="descr"></td> </tr>
+<tr> <td align="right"><b>Initial transaction description</b>:</td> <td><input name="descr" value="PayPal"></td> </tr>
<tr> <td align="right"><input type="checkbox" name="subscribe" checked></td> <td>Subscribe to hcoop-announce</td> </tr>
<tr> <td align="right"><b>Groups</b>:</td> <td><select name="grp" size="5" multiple>
<% foreach group in Group.listGroups () do %>
<tr> <td align="right"><b>Approved by</b>:</td> <td><%
ref first = true;
ref found = false;
- foreach (id, name) in App.votes (#id appl) do
+ val votes = App.votes (#id appl);
+ foreach (id, name) in votes do
if first then
first := false
else
</table>
<% if board then %>
- <a href="apps?approve=<% #id appl %>">Approve this member.</a><br>
+ <% if length votes >= 2 then %><a href="apps?approve=<% #id appl %>">Approve this member.</a><br><% end %>
<a href="apps?deny=<% #id appl %>">Deny this application.</a>
<% end %>
<% end