<div id="cp-simulator-panel">
  {% if message %}
  <div class="sim-msg mb-3">
    <div>{{ message }}</div>
    {% if dashboard_link %}
    <div>If CSMS Dashboard is running on the target, view it here: <a href="{{ dashboard_link }}">{{ dashboard_link }}</a></div>
    {% endif %}
  </div>
  {% endif %}
  {% if default_simulator %}
  <p class="text-muted mb-2">Default simulator: {{ default_simulator.name }} ({{ default_simulator.cp_path }})</p>
  {% endif %}

  {% include "ocpp/cp_simulator_block.html" with cp=state idx=simulator_slot form_params=form_params %}
</div>
