{% import '@Theme/macro/form.html' as Form %}

<form method="post" action="{{ url('/im/link') }}" class="ajax_post _im_attach_link" data-add-spin="true" data-fade-out-error="true">
	<input type="hidden" name="val[thread_id]" value="{{ thread_id }}">
	{{ Form.text('url', null, 'http://') }}
	{{ Form.submit('Attach Link') }}
</form>