{% import '/admin/model/inline_list_base.html' as base with context %}
{% import '_macros.html' as macros %}

{% macro render_event_field(field) %}
{% set model = field.object_data %}
{% if model and model.type == 'committee-meeting' %}
  <a href="/admin/committee_meeting/edit/?id={{ model.id }}">{{ model.date.strftime("%Y-%m-%d") }} - {{ model.title }}</a>
{% else %}
  {{ field }}
{% endif %}
{% endmacro %}

{{ base.render_inline_fields(field, template, render_event_field, check=check) }}

{% import '/admin/model/inline_list_base.html' as base with context %}
{% import '_macros.html' as macros %}

{% macro render_event_field(field) %}
{% set model = field.object_data %}
{% if model and model.type == 'committee-meeting' %}
  <a href="/admin/committee-meeting/edit/?id={{ model.id }}">{{ model.date.strftime("%Y-%m-%d") }} - {{ model.title }}</a>
{% else %}
  {{ field }}
{% endif %}
{% endmacro %}

{{ base.render_inline_fields(field, template, render_event_field, check=check) }}

FIX link to committee meeting in admin from bill page
FIX link to committee meeting in admin from bill page
