view themes/mini/pages/new.html @ 63:1075658abc74

pasterd: use public rather that visible
author David Demelier <markand@malikania.fr>
date Thu, 26 May 2022 13:09:33 +0200
parents 07b6887d3557
children
line wrap: on
line source

	<h1>Create paste</h1>

	<form action="/new" method="post" enctype="multipart/form-data">
		<div class="row responsive-label">
			<div class="col-md-2">
				<label for="title">Title</label>
			</div>
			<div class="col-md-10">
				<input id="title" name="title" type="text" placeholder="Untitled" />
			</div>
		</div>

		<div class="row responsive-label">
			<div class="col-md-2">
				<label for="author">Author</label>
			</div>
			<div class="col-md-10">
				<input id="author" name="author" type="text" placeholder="Anonymous" />
			</div>
		</div>

		<div class="row responsive-label">
			<div class="col-md-2">
				<label for="duration">Expires in</label>
			</div>
			<div class="col-md-10">
				<select id="duration" name="duration">
					@@durations@@
				</select>
			</div>
		</div>

		<div class="row responsive-label">
			<div class="col-md-2">
				<label for="private">Private</label>
			</div>
			<div class="col-md-10">
				<input id="private" type="checkbox" name="private" checked></input>
			</div>
		</div>

		<div class="row responsive-label">
			<div class="col-md-12">
				<textarea id="code" placeholder="What do you want to share?" rows="10" name="code" style="width: 100%">@@code@@</textarea>
			</div>
		</div>

		<div class="row responsive-label">
			<div class="col-md-2">
				<button class="primary">Submit</button>
			</div>
		</div>
	</form>