<section class='container' style='text-align:left'>
    <div class='row full-terc'>
    <div id='dvMessage' class='col-md-12'>
        <div class='topic-message block-seco'>
            <div class='topic-header'>
                <h1 class='topic-title'>{{Message->Title->Value}}</h1>
            </div>
            
            <div class='topic-meta'>
                <div class='author-info'>
                    <div class='imgProfil' style='background-image: url({{Message->GetImageUser()}}) '></div>
                    <div class='author-details'>
                        <div class='author-name'>
                            <b title='Contacter ce membre en MP'>{{Message->GetUser()}}</b>
                        </div>
                        <div class='message-date'>{{Message->DateCreated->Value}}</div>
                    </div>
                </div>
            </div>
            
            <div class='topic-content'>
                {{Message->Message->Value}}
            </div>
        </div>

        <div class='responses-section'>
            <h2 class='responses-title'>{{GetCode(Forum.Reponses)}}</h2>
            
            <div class='responses-list'>
                {{foreach Reponses}}
                <div class='block-first'>
                    <div class='response-meta'>
                        <div class='responder-info'>
                            <div class='imgProfil' style='background-image: url({{element->GetImageUser()}}) '></div>
                            <div class='responder-details'>
                                <div class='responder-name'>
                                    <b title='Contacter ce membre en MP'>{{element->GetUser()}}</b>
                                </div>
                                <div class='response-date'>{{element->DateCreated->Value}}</div>
                            </div>
                        </div>
                    </div>
                    
                    <div class='response-content'>
                        {{element->Message->Value}}
                    </div>
                    
                    <div class='response-actions'>
                        {{element->GetVotePlugin()}}
                    </div>
                </div>
                {{/foreach Reponses}}
            </div>
        </div>
    </div>

    <div class='col-md-12'>    
    <div class='borderTop block-terc'>
        
        {{if Connected == true}}
            {{reponseForm}}
        {{/if Connected == true}}
        
        {{if Connected == false}}
        
            <div class='center'>
                <div class='error'>
                    {{GetCode(Forum.MustBeConnected)}}
                </div>

                <a class='btn btn-primary' href='{{GetPath(/Login)}}' >
                    {{GetCode(Base.Login)}}
                </a>
             </div>
        
        {{/if Connected == false}}
        
    </div> 
    </div>
    </div>
</section>

{{VotePlugin}}