{% extends 'VGMWOBundle::layout.html.twig' %}
{% block jumbotron_content %}
    <div class="jumbotron" style="padding-top: 10px; padding-bottom: 5px;"  id="jumbotron">
        <div class="container-fluid">
            <div class="col-md-12 text-center" style="padding-left: 0px;">
                <H3 style="margin: 0px;"><strong>Show work types</strong></H3>
            </div>
        </div>
    </div>
{% endblock %}
{% block content %}
    <div class="container" style="min-height: 500px;">
        <div class="col-md-12 text-right">
            <div class="col-ms-2 pull-right">
                <a href="{{ path('worktypes') }}">
                    <span class="glyphicon glyphicon-list"></span>
                    Main list
                </a>
            </div>
            <div class="col-md-2 pull-right">
                <a href="{{ path('worktypes_edit', { 'id': entity.id }) }}">
                    <span class="glyphicon glyphicon-pencil"></span>
                    Edit
                </a>
            </div>
        </div>
        <div class="form-group container-fluid">
            <div class="row">
                <div>
                    <div>
                        <label style="margin-bottom: 0px;">Work type: </label>
                        <div class="form-control for-desktop" type="text" disabled>{{ entity.worktype }}</div>
                    </div>
                    <div>
                        <label style="margin-bottom: 0px; margin-top: 10px;">Description: </label>
                        <div class="form-control for-desktop" type="text" disabled>{{ entity.description }}</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
{% endblock %}
{% block javascripts %}
    {{ parent() }}
    <script type="text/javascript">
        // Activates knockout.js
        //ko.applyBindings(baseViewModel, document.getElementById("menu-bar"));
    </script>
{% endblock %}