<link href="css/find.css?v=3.4.0-RC3" rel="stylesheet"/>

<div class="page">
	<h1>
		{{title}}
		<span class="btn btn-link"
		   uib-popover-template="'js/angular/templates/titlePopoverTemplate.html'"
		   popover-trigger="mouseenter"
		   popover-placement="bottom-right"
		   popover-append-to-body="true"><span class="ri-information-2-line text-tertiary"></span></span>
	</h1>
    <div core-errors></div>
    <form class="form-horizontal" name="form" novalidate ng-submit="submit()" ng-show="getActiveRepository()">
        <p class="lead">{{'find.enter.resource.iri' | translate}}</p>
		<div class="form-group pos-r">
			<input type="submit" value="Go" class="btn btn-primary pull-right search-button"/>
			<div angucomplete-alt-onto
				 id="resources_finder"
				 placeholder="{{'search.resources.msg' | translate}}"
				 text-searching="false"
				 text-no-results="false"
				 pause="150"
				 minlength="2"
				 selected-object="selectedUriCallback"
				 initial-value="selectedUri"
				 field-required="true"
				 input-name="rdfUriForm"
				 auto-match="true"
				 remote-api-handler="getAutocompleteSuggestions"
				 remote-url-data-field="suggestions"
				 title-field="value"
				 input-class="form-control"
				 match-class="highlight"
				 focus-first="true"
				 input-changed="inputChangedFn"
				 disable-suggestions="autocompleteEnabled">
			</div>
		</div>
    </form>
</div>
