@ -307,6 +307,9 @@ $(document).ready(function() {
}
app.load();
templates.cache['500'] = $('.tpl-500').html();
$('[data-template]').each(function() {
templates.cache[$(this).attr('data-template')] = $(this).html();
});
@ -1,3 +1,4 @@
<script type="text/tpl" data-template="500">
<div class="alert alert-danger">
<strong>[[global:500.title]]</strong>
<p>[[global:500.message]]</p>
@ -5,3 +6,4 @@
<!-- IF error --><p>{error}</p><!-- ENDIF error -->
</div>
</script>