Skip to content

Instantly share code, notes, and snippets.

@kimisgold
Created October 18, 2012 16:30
Show Gist options
  • Save kimisgold/3913019 to your computer and use it in GitHub Desktop.
Save kimisgold/3913019 to your computer and use it in GitHub Desktop.
advanced search markup
<form id="search-form" name="search-form" method="get" action="/~knguyen/omeka/admin/search">
<input type="text" name="query" id="query" value="">
<fieldset id="advanced-form">
<fieldset id="query-types">
<p>Search using this query type:</p>
<label><input type="radio" name="query_type" id="query_type-full_text" value="full_text" checked="checked">Full text</label><br>
<label><input type="radio" name="query_type" id="query_type-boolean" value="boolean">Boolean</label><br>
<label><input type="radio" name="query_type" id="query_type-exact_match" value="exact_match">Exact match</label>
</fieldset>
<fieldset id="record-types">
<p>Search only these record types:</p>
<input type="checkbox" name="record_types[]" id="record_types" value="Item" checked="checked"> Item<br>
<input type="checkbox" name="record_types[]" id="record_types" value="Collection" checked="checked"> Collection<br>
<input type="checkbox" name="record_types[]" id="record_types" value="Exhibit" checked="checked"> Exhibit<br>
<input type="checkbox" name="record_types[]" id="record_types" value="ExhibitPage" checked="checked"> Exhibit Page<br>
<input type="checkbox" name="record_types[]" id="record_types" value="SimplePagesPage" checked="checked"> Simple Page<br>
</fieldset>
</fieldset>
<input type="submit" name="" value="Search">
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment