summaryrefslogtreecommitdiff
path: root/templates/create_book.tpl
blob: 365a058db201cba6c36624ba991655ead669ab54 (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
29
30
31
32
33
34
{strip}
<div class="floaticon">{bithelp}</div>

<div class="admin structure">
	<div class="header">
		<h1>{tr}Wiki Books{/tr}</h1>
	</div>

	<div class="body">
		{form legend="Create new Wiki Book"}
			<div class="form-group">
				{formfeedback error=$errors.title}
				{formlabel label="Book Title" for="name"}
				{forminput}
					<input class="form-control" type="text" name="name" id="name" size="50" maxlength="240" value="{$name}"/>
					{formhelp note="Enter the name of your WikiBook."}
				{/forminput}
			</div>

			<div class="form-group">
				{formlabel label="Table of Contents (optional)" for="chapters"}
				{forminput}
					<textarea class="form-control" rows="10" name="chapters" id="chapters">{$chapters}</textarea>
					{formhelp note="To enter the table of contents manually, you can add WikiPage names on separate lines. Pages that don't exist will be created automatically and you can edit them later."}
				{/forminput}
			</div>

			<div class="form-group submit">
				<input type="submit" class="btn btn-default" value="{tr}Create new book{/tr}" name="createstructure" />
			</div>
		{/form}
	</div><!-- end .body -->
</div><!-- end .structure -->
{/strip}