{{#id}}
<form method="POST" action="/glossary/{{id}}/edit">
   <input type="hidden" name="id" value="{{id}}" />
   <input type="hidden" name="_method" value="put" />
{{/id}}
{{^id}}
<form method="POST" action="/glossary">
   <input type="hidden" name="id" value="" />
{{/id}}
    <div class='row'>
        <div class="col-md-8 col-xs-12 g-3">
            <div class="card">
                <div class="card-header">Header</div>
                <div class="card-body">
                    <div class="row g-3">
                        <div class="col-xs-12 col-3">
                            <label class="form-label">Código</label>
                            <input type="text" class="form-control" name='code' value="{{code}}">
                        </div>
                        <div class="col-xs-12 col-9">
                            <label class="form-label">Nome</label>
                            <input type="text" class="form-control" name='name' value="{{name}}">
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-12 g-3">
                            <label class="form-label">Descrição</label>
                            <textarea class="form-control" name="descricao">{{description}}</textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-4 col-xs-12 g-3">
            <div class="card">
                <div class="card-header">Header</div>
                <div class="card-body">
                    <div class="row g-3">
                        <div class="col-xs-12 col-3">
                            <label class="form-label">Código</label>
                            <input type="text" class="form-control" name='code' value="{{code}}">
                        </div>
                        <div class="col-xs-12 col-9">
                            <label class="form-label">Nome</label>
                            <input type="text" class="form-control" name='name' value="{{name}}">
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-12 g-3">
                            <label class="form-label">Descrição</label>
                            <textarea class="form-control" name="descricao">{{description}}</textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class='row'>
        <div class="col-md-8 col-xs-12 g-3">
            <div class="card">
                <div class="card-header">Header</div>
                <div class="card-body">
                    <div class="row g-3">
                        <div class="col-xs-12 col-3">
                            <label class="form-label">Código</label>
                            <input type="text" class="form-control" name='code' value="{{code}}">
                        </div>
                        <div class="col-xs-12 col-9">
                            <label class="form-label">Nome</label>
                            <input type="text" class="form-control" name='name' value="{{name}}">
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-xs-12 g-3">
                            <label class="form-label">Descrição</label>
                            <textarea class="form-control" name="descricao">{{description}}</textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</form>