<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <title></title>
    <style></style>
    <link rel="stylesheet" href="{{ theme }}/css/bootstrap.min.css">
    <link rel="stylesheet" href="{{ theme }}/css/star-rating.min.css">
    <script src="{{ theme }}/js/jquery.min.js"></script>
    <script src="{{ theme }}/js/star-rating.min.js"></script>
    <script>
        $(document).ready(function () {
            var score = $('#score');
            score.rating({
                size: 'xs',
                showClear: false,
                showCaption: false,
                hoverEnabled: false,
                readonly: true
            });
            var consultant_score = {{ consultant_score }};
            score.rating('update', consultant_score);
        });
    </script>
</head>
<body>
<p>{{ consultant_name }}</p>
<label for="score">星级</label>
<input type="hidden" id="score" name="score">
<input type="hidden" name="consultant_id" value="{{ consultant_id }}">
<a href="{{ consultant_score_url }}">评分</a>
<br>
</body>
</html>