{% extends "mod_backend/base_mod_backend.html" %}
<!--
@copyright   Copyright (c) 2014 Submit Consulting
@author      Angel Sullon (@asullom)
@package     space

Descripcion: Create/Update solution
-->
{% load i18n crispy_forms_tags %}
{% load l10n %}

{% block breadcrumbs %}
<a href="{% url 'accounts:index' %}">{% trans 'Home' %}</a>
&rsaquo;
<a href="/space/headquar/index/">{{ opts.verbose_name_plural|capfirst }}</a>
&rsaquo; {{ title }}
{% endblock breadcrumbs %}

{% block content_title %}
{{ opts.verbose_name|capfirst }} | <small>{{ title }}</small>
{% endblock content_title %}

{% block content %}

{% crispy form %}

{% endblock %}

{% block extrajs %}
{{ block.super }}

<script type="text/javascript">
var json_data = {{ association_name_list|safe }};
$(function() {
	$('#id_association_name').typeahead({
		source: json_data, items:5
	});
});

</script>
{% endblock extrajs %}
