{{template "admin/layout_head" (dict "pageClass" "admin new badge")}}
	<div class="admin-setting-content">
		<h4 class="ui top attached header">
			{{ctx.Locale.Tr "admin.badges.new_badge"}}
		</h4>
		<div class="ui attached segment">
			<form class="ui form form-fetch-action" action="{{.Link}}" method="post">
				<div class="required field">
					<label>{{ctx.Locale.Tr "admin.badges.slug"}}</label>
					<input autofocus required name="slug">
				</div>
				<div class="required field">
					<label>{{ctx.Locale.Tr "admin.badges.description"}}</label>
					<textarea name="description" rows="2" required></textarea>
				</div>
				<div class="field">
					<label>{{ctx.Locale.Tr "admin.badges.image_url"}}</label>
					<input type="url" name="image_url">
				</div>
				<div class="field">
					<button class="ui primary button">{{ctx.Locale.Tr "admin.badges.new_badge"}}</button>
				</div>
			</form>
		</div>
	</div>
{{template "admin/layout_footer" .}}
