<form action="{{ $action }}" method="post" enctype="multipart/form-data" accept-charset="utf-8"@if($micropub) name="micropub"@endif>
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<fieldset class="note-ui">
<legend>New Note</legend>
<div>
<label for="in-reply-to" accesskey="r">Reply-to: </label>
<input type="text"
name="in-reply-to"
id="in-reply-to"
placeholder="in-reply-to-1 in-reply-to-2 …"
value="{{ old('in-reply-to') }}"
>
</div>
<label for="content" accesskey="n">Note: </label>
<textarea name="content"
id="content"
placeholder="Note"
autofocus="autofocus">{{ old('content') }}</textarea>
@if ($micropub === true)
@if($syndication)
<label for="syndication" accesskey="s">Syndication: </label>
<ul class="/micropub/syndication-targets-list" name="syndication">
@foreach($syndication as $syn)
<li><input type="checkbox"
name="mp-syndicate-to[]"
id="{{ $syn['target'] }}"
value="{{ $syn['target'] }}"
checked="checked"
> <label for="{{ $syn['target'] }}">{{ $syn['name'] }}</label>
</li>
@endforeach
</ul>
@endif
<a href="/refresh-syndication-targets">Refresh Syndication Targets</a>
<label for="photo" accesskey="p">Photo: </label>
<input type="file"
accept="image/*"
value="Upload"
name="photo[]"
id="photo"
multiple
<label for="locate" accesskey="l"></label>
<button type="button"
name="locate"
id="locate"
value="Locate"
disabled
>Locate</button>
<button type="submit"
name="submit"
id="submit"
value="Submit"
>Submit</button>
</fieldset>
</form>