Skip to content

Commit

Permalink
Agregando grupos a new datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
germankay committed Dec 10, 2024
1 parent 50285da commit 7b52cf7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ckanext/superset/templates/superset/create-dataset.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ <h2>Create CKAN dataset from Superset dataset</h2>
</select>
</div>

<!-- Grup list -->
{% set groups_available = h.groups_available('create_dataset') %}
<div class="form-group">
<label for="ckan_group_id">Group</label>
<select class="form-control form-select" id="ckan_group_id" name="ckan_group_id">
<option value="">-----</option>
{% for group in groups_available %}
<option value="{{ group.id }}">{{ group.title }}</option>
{% endfor %}
</select>
</div>

<!-- CKAN notes/description -->
<div class="form-group">
<label for="ckan_dataset_notes">Dataset description</label>
Expand Down

0 comments on commit 7b52cf7

Please sign in to comment.