
<div>
    <h2><span>Car</span> {{vm.car.id}}</h2>
    <hr>
    <jhi-alert-error></jhi-alert-error>
    <dl class="dl-horizontal jh-entity-details">
        <dt><span>Make</span></dt>
        <dd>
            <span>{{vm.car.make}}</span>
        </dd>
        <dt><span>Brand</span></dt>
        <dd>
            <span>{{vm.car.brand}}</span>
        </dd>
        <dt><span>Price</span></dt>
        <dd>
            <span>{{vm.car.price}}</span>
        </dd>
    </dl>

    <button type="submit"
            ui-sref="{{ vm.previousState }}"
            class="btn btn-info">
        <span class="glyphicon glyphicon-arrow-left"></span>&nbsp;<span> Back</span>
    </button>

    <button type="button" ui-sref="car-detail.edit({id:vm.car.id})" class="btn btn-primary">
        <span class="glyphicon glyphicon-pencil"></span>
        <span class="hidden-sm-down"> Edit</span>
    </button>
</div>
