Commit 07412603 authored by Matija Obreza's avatar Matija Obreza
Browse files

Display error message in request/personal

parent f371da35
......@@ -145,6 +145,7 @@ public class RequestController extends BaseController {
requestService.initiateRequest(requestInfo, selectionBean.copy());
} catch (final RequestException e) {
model.addAttribute("error", e);
return start(model);
......@@ -13,7 +13,11 @@
<%@include file="/WEB-INF/jsp/content/include/blurp-display.jsp"%>
<c:if test="${error ne null}">
<div class="alert alert-error">
<c:out value="e.message" />
<c:if test="${smta ne null and smta ne true}">
<div class="alert alert-warning">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment