#266 displaying link to the couplet for recitation errors

This commit is contained in:
Hamid Reza Mohammadi 2021-12-23 19:14:03 +03:30
parent 6edfd7f43f
commit 5c86c608b2

View File

@ -36,6 +36,10 @@
{
<div class="recitaion-mistake">
<p>
@if(mistake.CoupletIndex != -1)
{
<a href="@($"#bn{mistake.CoupletIndex + 1}")">#</a>
}
@Html.Raw(mistake.Mistake.Replace("\r\n", "<br />"))
</p>
</div>