{% extends "/base.html" %} {% set active_page = "projects" %} {% set active_project = project.short_name %} {% import "projects/_helpers.html" as helper %} {% block content %} {{ helper.render_project_local_nav(project, 'tasks', current_user)}}
{% from "_formhelpers.html" import render_field %} {{ helper.render_loading(loading_text) }}

{{project.name}}: {{_('Import tasks')}}

{{_('From a Flickr Album')}} {% if albums %} {{ _('Revoke access') }} {% endif %}

{% if not albums %}

{{ _('Grant Crowdcrafting access to your Flickr albums to select one...') }}


{{ _('Log in Flickr') }}

{% else %} {{ _('Select one of your albums:') }}

{% endif %}
{% if form %}
{{ form.hidden_tag() }} {{ _('Or manually provide the ID of a Flickr set with images for') }} {{ active_project }}.
{{ _('For more information, please look at') }} {{ _('the documentation') }}.
{{ render_field(form.album_id, class_="form-control", placeholder="The ID of the Flickr set") }}
{% endif %}
{% endblock %}