Hi, I'm busy implementing raven, I've got the form all set up, but having problems with generating the {{ message}}
tag within the {{missing}}
tag. It works within the {{invalid}}
on the same page. Here's the code I'm using...
{{ if {raven:success} }}
<div class="row success">
<h1>Thanks!</h1>
<p class="intro">{{ successmessage }}</p>
</div>
{{ else }}
{{ raven:errors }}
{{ if missing }}
<div class="row error-block missing">
<h2 class="title">Oops, looks like you're missing:</h2>
<ul class="error-list">
{{ missing }}
<li><strong>{{ field }} </strong> {{ message }}
</li>
{{ /missing }}
</ul>
</div>
{{ endif }} {{ if invalid }}
<div class="row error-block">
<h2 class="title">Looks like there are errors:</h2>
<ul class="error-list">
{{ invalid }}
<li><strong>{{ field }}</strong>: {{ message }}</li>
{{ /invalid }}
</ul>
</div>
{{ endif }}
{{ /raven:errors }}
{{ endif }}
Any ideas?