編集画面でモデルのオブジェクトを呼び出す

MTML


<mt:if name="request._model" eq="event">
<mt:var name="request.id" setvar="current_event_id" />
<mt:objectloop model="calendar" contents_id="$current_event_id" calendar_model="event" workspace_id="$workspace_id"><pre style="border: 1px solid #ccc; padding: 5px;">
  Start: <mt:var name="start_date" format_ts="Y年m月d日" escape />
  End: <mt:var name="end_date" format_ts="Y年m月d日" escape />
  FreqType: <mt:var name="freq_type" escape />
  FreqMonthInterval: <mt:var name="freq_type" escape />
  LedDate: <mt:var name="led_date" escape />
</pre></mt:objectloop>
</mt:if>