
<form action="{{ route('messages.update', $thread->id) }}" id="frm-chat" method="post">
    {{ method_field('put') }}
    {{ csrf_field() }}
    <div class="chat-form">
        <div class="input-cont">
            <input class="form-control" name="message" type="text" value="{{ old('message') }}" placeholder="Escribe un mensaje">
        </div>
        <div class="btn-cont">
            <span class="arrow"> </span>
            <button class="btn blue icn-only">
                <i class="fa fa-check icon-white"></i>
            </button>
        </div>
    </div>
</form>
