{% load i18n crispy_forms_filters %}

<form class="form" action="" method="post" id="jira_issue_form">
    {% csrf_token %}
    {{ form|crispy }}
    <div class="form-actions">
        <button type="submit" class="btn btn-primary">{% trans "Save Changes" %}</button>
    </div>
</form>

<script type="text/javascript">
    $(document).ready(function(){
        $("#id_jira-default_project").select2({"width": "220px"});
    });
</script>

{% load i18n crispy_forms_filters %}

<form class="form" action="" method="post" id="jira_issue_form">
    {% csrf_token %}
    <input type="hidden" name="plugin" value="{{ plugin.slug }}" />

    {{ form|crispy }}
    <div class="form-actions">
        <button type="submit" class="btn btn-primary">{% trans "Save Changes" %}</button>
    </div>
</form>

<script type="text/javascript">
    $(document).ready(function(){
        $("#id_jira-default_project").select2({"width": "220px"});
    });
</script>

Add plugin key to form
Add plugin key to form
