{% if leg.startStation.name != "" and leg.endStation.name != "" %}

{{ leg.startStation.name }} > {{ leg.endStation.name }}

{% else %}

{{ 'leg'|trans }}

{% endif %}
{{ 'id'|trans }} {{ leg.id }}
{{ 'start_station'|trans }} {{ leg.startStation.name }}
{{ 'end_station'|trans }} {{ leg.endStation.name }}
{{ 'distance'|trans }} {{ leg.distance }}
{{ 'back'|trans }} {{ 'edit'|trans }} {{ include('leg/_delete_form.html.twig') }}