{% if requirement.mid_permanent and requirement.reserved_mid is not none %}
  <sdoc-requirement-field-label>MID:</sdoc-requirement-field-label>
  <sdoc-requirement-field
    data-field-type="singleline"
    data-field-label="MID"
  >
    {%- with field_content = requirement.reserved_mid %}
      {%- include "components/field/index.jinja" -%}
    {%- endwith -%}
  </sdoc-requirement-field>
{% endif %}

{%- if requirement.has_meta -%}
  {% for meta_field in requirement.enumerate_meta_fields(skip_multi_lines=True) if view_object.current_view.includes_field(requirement.requirement_type, meta_field[0]) %}
    <sdoc-requirement-field-label>{{ meta_field[0] }}:</sdoc-requirement-field-label>
    <sdoc-requirement-field
      data-field-type="singleline"
      data-field-label="{{ meta_field[0] }}"
    >
      {%- with field_content = meta_field[1] %}
        {%- include "components/field/index.jinja" -%}
      {%- endwith -%}
    </sdoc-requirement-field>
  {% endfor %}
{%- endif %}
