b:notsent

<b:notsent>...</b:notsent>

Displays a message if a b:form has not been sent succesfully.

The contents of this tag will be shown only if a form has not been sent or there was an error when attempting to send a form.

If a name is given, this will be shown always when the form in question has not been sent or there was an error sending it.

Examples

Displaying form notsent block

<!-- this message will display if any b:form has been sent succesfully -->
<b:sent>
	<div class="notice">Form sent!</div>
</b:sent>

<!-- form will be shown only if it hasn't been sent -->
<b:notsent.addcomment>
	<b:form datamodel="comment" name="addcomment">
		<label>Your name</label><b:addcomment.name/>

		<b:addcomment.comment/>
		<input type="submit" value="post a comment"/>
	</b:form>
</b:notsent.addcomment>

<!-- you can also use a generic notsent block to hide contents
	when any Bildy form has been sent -->
<b:notsent>
	<p>No forms have been sent.</p>
</b:notsent>