Skip to content

Commit

Permalink
Fix incorrect rock_type filter
Browse files Browse the repository at this point in the history
  • Loading branch information
kristallizer committed May 31, 2014
1 parent ee6b175 commit eeb09b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Front-end application for the Meptetb system built using Flask.

The API is built in Django and it can be found here: https://github.com/metpetdb/metpetdb-py
The API is built in Django and can be found here: https://github.com/metpetdb/metpetdb-py
17 changes: 1 addition & 16 deletions templates/search_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@
{% block body %}

<form action="" method="get">
<!-- Version: <input type="text" name="version"><br> -->
<!-- Sesar Number: <input type="text" name="sesar_number"><br><br> -->
<!-- Public Data: <input type="text" name="public_data"><br> -->
<!-- Collection Date: <input type="text" name="collection_date"><br> -->
<h3>Rock Types</h3>
<label for="rock_type__rock_type">Rock Types: </label><br>
{% for rock_type in rock_types %}
<input type="checkbox" name="rock_type__rock_type" value="{{rock_type.rock_type}}">{{ rock_type.rock_type }}
<input type="checkbox" name="rock_type__rock_type__in" value="{{rock_type.rock_type}}">{{ rock_type.rock_type }}
{% endfor %}

<br><br>
Expand Down Expand Up @@ -64,14 +60,3 @@ <h3>Provenance</h3>
{% endif %}

{% endblock %}
<!-- Rock Types
Metamorphic Grade
Location
Minerals
Chemistry
Provenance -->

0 comments on commit eeb09b8

Please sign in to comment.