Skip to content

Commit

Permalink
[License][xs]: Remove hardcoded license
Browse files Browse the repository at this point in the history
  • Loading branch information
sagargg committed May 29, 2024
1 parent e7fd1ff commit fba6700
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
<select id="field-license" name="license_id" data-module="autocomplete">
{% set existing_license_id = data.get('license_id') %}
{% set default_license = "dl-de-zero-2.0" %}
<option value="{{ default_license }}">{{ "Datenlizenz Deutschland Zero - 2.0" }}</option>
{% for license_id, license_desc in h.license_options(existing_license_id) %}
<option value="{{ license_id }}" {% if existing_license_id == license_id %}selected="selected"{% endif %}>{{ license_desc }}</option>
<option value="{{ license_id }}" {% if existing_license_id == license_id %}selected="selected"{% endif %}>{{ license_desc }}</option>
{% endfor %}
</select>
{% if error %}<span class="error-block">{{ error }}</span>{% endif %}
Expand Down

0 comments on commit fba6700

Please sign in to comment.