blob: 8e34fec423fbbd4a593ed49743adf12789f01fe2 [file] [log] [blame]
<html jwcid="$content$">
<body jwcid="@Border">
<form jwcid="@Form" listener="listener:addBook" delegate="ognl:validationDelegate">
<p>
Enter information about the book into the form below. Fields marked with
<span class="required-field">*</span> are required.
</p>
<span jwcid="@ShowError"/>
<span jwcid="@ShowValidationError"/>
<table class="form">
<tr>
<th width="80" height="30"><span jwcid="@FieldLabel" field="component:title">Title</span></th>
<td><span class="required-field">*</span></td>
<td width="420"><input jwcid="title" type="text" size="50" maxlength="100"/>
</td>
</tr>
<tr>
<th><span jwcid="@FieldLabel" field="component:author">Author</span>
<td><span class="required-field">*</span></td>
</th>
<td><input jwcid="author" type="text" size="30" maxlength="60"/>
</td>
</tr>
<tr>
<th>ISBN</th>
<td></td>
<td><input jwcid="inputISBN@TextField" value="ognl:attributes.ISBN" type="text" maxlength="20" size="20"/>
</td>
</tr>
<tr>
<th><span jwcid="@FieldLabel" field="component:publisherName">Publisher</span></th>
<td><span class="required-field">*</span></td>
<td><select jwcid="publisher@PropertySelection" value="ognl:attributes.publisherId"
model="ognl:modelSource.publisherModel"/>
<input jwcid="publisherName" type="text" size="20" maxlength="40"/>
</td>
</tr>
<tr>
<td colspan="2"></td>
<td>
Note: If the Publisher is not listed, leave the option blank and type the name of the publisher in the field to the right.
</td>
</tr>
<tr>
<th>Description</th>
<td></td>
<td><textarea jwcid="description@TextArea" value="ognl:attributes.description" cols="35" rows="8"></textarea>
</td>
</tr>
<tr>
<th>Hidden</th>
<td></td>
<td><input jwcid="hidden@Checkbox" value="ognl:attributes.hidden" type="checkbox"/>Check to prevent this book from appearing in searches.
</td>
</tr>
<tr>
<th>Lendable</th>
<td></td>
<td><input jwcid="lendable@Checkbox" value="ognl:attributes.lendable" type="checkbox"/>Leave checked to allow this book to be borrowed by others.
</td>
</tr>
<tr>
<td colspan="2">
</td>
<td><input type="image" src="images/add.png" height="20" width="28" border="0"/>
</td>
</tr>
</table>
<span jwcid="@Script" script="Publisher.script" select="component:publisher" field="component:publisherName"/>
</form>
</body>
</html>