V2_Entry_TagRelational


{% set entryTagRelational = module('V2_Entry_TagRelational', null, {
  bid: null,
  cid: null,
  eid: EID,
  limit: null,
  keyword: null,
  field: null,
  start: '1000-01-01 00:00:00',
  end: '9999-12-31 23:59:59'
}) %}

{% if entryTagRelational.items %}
<div class="acms-margin-bottom-medium">
  {{ include('/admin/module/setting.twig', { moduleInfo: entryTagRelational.moduleInfo }) }}
  <div class="acms-grid">
    {% for entry in entryTagRelational.items %}
    <div class="acms-col-md-4 js-autoheight-r">
      <div class="acms-thumbnail">
        {% if entry.mainImage.path %}
          <img
            class="acms-img-responsive"
            src="{{ entry.mainImage.path|resizeImg(360) }}"
            alt="{{ entry.mainImage.alt }}"
            width={{ entry.mainImage.width }}
            height={{ entry.mainImage.height }}
          />
        {% else %}
          <img class="acms-img-responsive" src="/images/noimage.png" alt="" />
        {% endif %}
        <div>
          <h3>{{ entry.title }}</h3>
          <p>{{ entry.summary }}</p>
          <p><a href="{url}" class="acms-btn acms-btn-primary" role="button">詳細をみる</a></p>
        </div>
      </div>
    </div>
    {% endfor %}
  </div>
</div>
{% endif %}