view themes/minimal/new.html @ 17:09d2f54562ec

pasterd-clean: initial import, closes #2473
author David Demelier <markand@malikania.fr>
date Thu, 06 Feb 2020 14:17:14 +0100
parents 75cfe3795de3
children
line wrap: on
line source

	<h1>Create paste</h1>

	<form action="/new" method="post">
		<table>
			<tr>
				<td>Title</td>
				<td><input name="title" type="text" placeholder="Untitled" value="@@title@@" /></td>
			</tr>

			<tr>
				<td>Author</td>
				<td><input name="author" type="text" placeholder="Anonymous" value="@@author@@" /></td>
			</tr>

			<tr>
				<td>Language</td>
				<td>
					<select name="language">
						@@languages@@
					</select>
				</td>
			</tr>

			<tr>
				<td>Expires in</td>
				<td>
					<select name="duration">
						@@durations@@
					</select>
				</td>
			</tr>

			<tr>
				<td>Private</td>
				<td><input type="checkbox" name="private" @@private@@></input></td>
			</tr>
		</table>

		<textarea id="code" class="textarea" placeholder="What do you want to share?" rows="10" name="code">@@code@@</textarea>
		<button>Submit</button>
	</form>