-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Agregando grupos a new datasets #31
base: main
Are you sure you want to change the base?
Conversation
</select> | ||
</div> | ||
|
||
<!-- Grup list --> | ||
{% set groups_available = h.groups_available('create_dataset') %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
groups_available
ya fue definido en la vista. Esta disponible en el contexto
</select> | |
</div> | |
<!-- Grup list --> | |
{% set groups_available = h.groups_available('create_dataset') %} | |
</select> | |
</div> | |
<!-- Grup list --> |
<input class="form-check-input" type="checkbox" id="group_{{ group.id }}" name="ckan_group_id" value="{{ group.id }}" | ||
{% if group.id in selected_groups %}checked{% endif %}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<input class="form-check-input" type="checkbox" id="group_{{ group.id }}" name="ckan_group_id" value="{{ group.id }}" | |
{% if group.id in selected_groups %}checked{% endif %}> | |
<input class="form-check-input" type="checkbox" id="group_{{ group.id }}" name="ckan_group_id" value="{{ group.id }}"> |
Nunca va a haber grupos preseleccionados. Siempre vamos a estar creando un dataset nuevo. Hay que sacar tambien selected_groups
de la vista que llama a este templata
fixes #29
Se agrega la funsión para que alcrear un datases a traves del superset se pueda agregar a un grupo determinado o a varios.