Commit 76200f0f9931a6d839375ac4bcb50f8838bc9e95

Authored by Tiago Guimarães
1 parent ceb4c90783
Exists in DSpace52++

initial client implementation

dspace-jspui/src/main/webapp/requestItem/request-form.jsp
... ... @@ -23,6 +23,7 @@
23 23  
24 24 <%@ page import="org.dspace.app.webui.servlet.RequestItemServlet"%>
25 25 <%@ page import="javax.servlet.jsp.jstl.fmt.LocaleSupport" %>
  26 +<script src='https://www.google.com/recaptcha/api.js'></script>
26 27  
27 28 <%
28 29 request.setCharacterEncoding("UTF-8");
... ... @@ -104,6 +105,7 @@
104 105 <input type="hidden" name="handle" value='<%= handle %>' />
105 106 <input type="hidden" name="bitstream-id" value='<%= bitstream_id %>' />
106 107 <input type="hidden" name="step" value="<%=RequestItemServlet.ENTER_FORM_PAGE %>" />
  108 + <div class="g-recaptcha" data-sitekey="6LfOliQTAAAAALClMSQsWexcm9Dr2dgsCytkAePl"></div>
107 109 <div class="btn btn-group col-md-4 pull-right row">
108 110 <a class="btn btn-default col-md-6" href="<%=request.getContextPath()%>/handle/<%=handle %>"><fmt:message key="jsp.request.item.request-form.cancel" /></a>
109 111 <button type="submit" name="submit" class="btn btn-primary col-md-6" value="true"><fmt:message key="jsp.request.item.request-form.go"/></button>
... ...