{% extends 'reports/async/basic.html' %}
{% load report_tags %}
{% load hq_shared_tags %}
{% load i18n %}


{% block page_content %}
    {% include 'case_importer/partials/help_message.html' %}

    <form class="form-horizontal form-report"
          action="{% url "excel_config" domain %}"
          method="post"
          enctype="multipart/form-data">
        {% csrf_token %}
        <fieldset>
            <legend>
                {% trans "Upload an Excel File From Your Computer to Import From" %}
            </legend>

            <div class="form-group">
                <label class="control-label col-sm-3" for="file">
                    {% trans "Select a file to upload" %}
                </label>
                <div class="col-sm-6">
                    <input class="form-control" name="file" id="file" type="file" />
                </div>
            </div>
        </fieldset>

        <div class="form-actions">
            <div class="col-sm-offset-3">
                <button type="submit" class="btn btn-primary">
                    <i class="fa fa-forward"></i> {% trans "Next step" %}
                </button>
            </div>
        </div>
    </form>


    <h2>Recent Uploads</h2>
    {% include 'case_importer/partials/import_history.html' %}
{% endblock %}

{% extends 'reports/async/basic.html' %}
{% load report_tags %}
{% load hq_shared_tags %}
{% load i18n %}


{% block page_content %}
    {% include 'case_importer/partials/help_message.html' %}

    <form class="form-horizontal form-report"
          action="{% url "excel_config" domain %}"
          method="post"
          enctype="multipart/form-data">
        {% csrf_token %}
        <fieldset>
            <legend>
                {% trans "Upload an Excel File From Your Computer to Import From" %}
            </legend>

            <div class="form-group">
                <label class="control-label col-sm-3" for="file">
                    {% trans "Select a file to upload" %}
                </label>
                <!-- unorthodox use of .control-label to vertically align the file input with the actual label -->
                <div class="col-sm-6 control-label">
                    <input name="file" id="file" type="file" />
                </div>
            </div>
        </fieldset>

        <div class="form-actions">
            <div class="col-sm-offset-3">
                <button type="submit" class="btn btn-primary">
                    <i class="fa fa-forward"></i> {% trans "Next step" %}
                </button>
            </div>
        </div>
    </form>


    <h2>Recent Uploads</h2>
    {% include 'case_importer/partials/import_history.html' %}
{% endblock %}

Fix styling of file input in case importer
Fix styling of file input in case importer
