Skip to content

Commit

Permalink
Update Sample collection form #258
Browse files Browse the repository at this point in the history
  • Loading branch information
NTaherifar committed Jul 18, 2024
1 parent 57181b1 commit e7425f4
Showing 1 changed file with 21 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,33 @@
value=data.collection_short_name, error=errors.collection_short_name, classes=['control-medium'],
is_required=true) }}



{{ form.textarea('description', label=description_label, id='field-description',
value=data.description, error=errors.description,
placeholder=_('Brief description'), is_required=true) }}


<div class="form-group {% if errors.is_culturally_sensitive %}has-error{% endif %}">
<label for="field-is_culturally_sensitive">{{ _('Is culturally sensitive?') }}</label>
<label class="form-label" for="field-is_culturally_sensitive">
<span title="This field is required" class="control-required">*</span>
{{ _("In Australia, 'Indigenous Data' refers to information or knowledge, in any format or medium, which is about and may affect Indigenous peoples both collectively and individually [1]. Does this collection relate to Indigenous people and impact Indigenous lives at the collective and/or individual level?") }}
</label>
<select name="is_culturally_sensitive" id="field-is_culturally_sensitive" class="form-control" required>
<option value="non-sensitive" {% if data.is_culturally_sensitive == 'non-sensitive' %}selected{% endif %}>{{ _('No') }}</option>
<option value="sensitive" {% if data.is_culturally_sensitive == 'sensitive' %}selected{% endif %}>{{ _('Yes') }}</option>
<option value="" disabled selected>{{ _('Please select an option') }}</option>
<option value="yes" {% if data.is_culturally_sensitive == 'yes' %}selected{% endif %}>{{ _('Yes') }}</option>
<option value="no" {% if data.is_culturally_sensitive == 'no' %}selected{% endif %}>{{ _('No') }}</option>
<option value="unsure" {% if data.is_culturally_sensitive == 'unsure' %}selected{% endif %}>{{ _('Unsure') }}</option>
</select>

{% if errors.is_culturally_sensitive %}
<span class="help-block">{{ errors.is_culturally_sensitive }}</span>
{% endif %}
</div>

{{ form.textarea('description', label=description_label, id='field-description',
value=data.description, error=errors.description,
placeholder=_('Brief description'), is_required=true) }}
<small>[1] Maiam nayri Wingara. (2018) Indigenous Data Sovereignty Communique Indigenous Data Sovereignty Summit 20th June 2018, Canberra, ACT.
<a href="https://static1.squarespace.com/static/5b3043afb40b9d20411f3512/t/63ed934fe861fa061ebb9202/1676514134724/Communique-Indigenous-Data-Sovereignty-Summit.pdf">https://static1.squarespace.com/static/5b3043afb40b9d20411f3512/t/63ed934fe861fa061ebb9202/1676514134724/Communique-Indigenous-Data-Sovereignty-Summit.pdf</a>
</small>
</div>


{% endblock %}

0 comments on commit e7425f4

Please sign in to comment.