blob: 25c8118bea64f29ac5a336963b3d1c6afb313d1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<% view, viewlibrary, page_info = ... %>
<% html = require("acf.html") %>
<style type="text/css">
p.hiddendetail {
display: none;
}
p.error a{
display: block;
font-weight: normal;
font-size: 75%;
}
</style>
<script type="text/javascript" src="<%= html.html_escape(page_info.wwwprefix) %>/js/jquery-latest.js"></script>
<script type="text/javascript">
var clickIt = function(){
$("p.hiddendetail").removeClass("hiddendetail").show("slow");
$(this).fadeOut("slow");
};
$(document).ready(function(){
$("p.errordetail").append('<a href="javascript:;">Show Detail</a>').find("a").click(clickIt);
$("p.errordetail").addClass("error");
});
</script>
<h1>Alpine Configuration Framework</h1>
<p class="errordetail">Dispatch error occured</p>
<p class="hiddendetail">'<%= html.html_escape(view.controller) %>' does not have a '<%= html.html_escape(view.action) %>' action.</p>
|