{% extends "layout.html" %} {% block content_header %} {{ build_breadcrumbs([ { 'name': _('Manage Contacts') , 'link': url_for('.ManagePhonebookView:index'), 'icon': 'users' } ]) }} {% endblock %} {% block content %}
{{ _("Choose your phonebook: ") }}
{% call build_list_containers(_('Manage Contacts'), 'users') %} {% call build_list_table() %} {% call build_list_table_headers(get=url_for('.ManagePhonebookView:get', phonebook_uuid=phonebook_uuid, id=''), delete=url_for('.ManagePhonebookView:delete', phonebook_uuid=phonebook_uuid, id='')) %} {{ _("Firstname") }} {{ _("Lastname") }} {{ _("Phone Number") }} {{ _("Email") }} {% endcall %} {% call(contact) build_list_table_rows(resource_list) %} {{ contact.firstname }} {{ contact.lastname }} {{ contact.phone }} {{ contact.email or '-' }} {% endcall %} {% endcall %} {% endcall %} {% call build_hidden_add_containers(_('Add Contact')) %} {% call build_form() %} {% call add_default_fields(form=form, submit_value=_('Add')) %} {{ render_field(form.phonebook_uuid) }} {{ render_field(form.firstname) }} {{ render_field(form.lastname) }} {{ render_field(form.email) }} {{ render_field(form.phone) }} {{ render_field(form.mobile_phone) }} {{ render_field(form.fax) }} {% endcall %} {% endcall %} {% endcall %}
{% endblock %} {% block additional_js %}{% endblock %}