{% load templatetag_handlebars %}

    {% verbatim %}
    <div class="myuw-card-section">
        <div class="row">
            <div class="col-sm-3">
                <h4 class="myuw-card-row-heading">Course Stats</h4>
            </div>

            <div class="col-sm-9">
                <div class="myuw-card-row-content">
                    <div class="card-badge-value">
                        <ul class="myuw-card-itemlist">
                            {{#exists failure_rate }}
                                <li><div>{{to_percent failure_rate}}% historic course fail rate</div></li>
                            {{else}}
                            <p>has error</p>
                            {{/exists}}
                            <li><a href="https://coda.uw.edu/#{{ year }}-{{ quarter }}-{{ toUrlSafe curriculum_abbr }}-{{ course_number }}-{{ section_id }}" class="" data-linklabel="Course Dashboard for {{ toUrlSafe curriculum_abbr }} {{ course_number }} {{ section_id }}" rel="{{section_label}}">View course stats</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {% endverbatim %}

{% load templatetag_handlebars %}

    {% verbatim %}
    <div class="myuw-card-section">
        <div class="row">
            <div class="col-sm-3">
                <h4 class="myuw-card-row-heading">Course Stats</h4>
            </div>

            <div class="col-sm-9">
                <div class="myuw-card-row-content">
                    <div class="card-badge-value">
                        <ul class="myuw-card-itemlist">
                            {{#exists failure_rate }}
                                <li><div>{{to_percent failure_rate}}% historic course fail rate</div></li>
                            {{else}}
                            <p><a href="https://canvas.uw.edu" data-linklabel="Canvas LMS" target="_blank">Canvas LMS</a> Home page</p>
                            {{/exists}}
                            <li><a href="https://coda.uw.edu/#{{ year }}-{{ quarter }}-{{ toUrlSafe curriculum_abbr }}-{{ course_number }}-{{ section_id }}" class="" data-linklabel="Course Dashboard for {{ toUrlSafe curriculum_abbr }} {{ course_number }} {{ section_id }}" rel="{{section_label}}">View course stats</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
    {% endverbatim %}

Add Canvas error inline message
Add Canvas error inline message
