Skip to content

Commit

Permalink
Fixed: rating stars
Browse files Browse the repository at this point in the history
  • Loading branch information
alanta committed Nov 20, 2020
1 parent 037bcfc commit 1041cd1
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
2 changes: 1 addition & 1 deletion input/Shared/star_rating.cshtml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@using System.Globalization
@model decimal
<div class="rating-holder">
<div class="c-rating c-rating--regular" data-rating-value="@Model.ToString("F1", CultureInfo.InvariantCulture)">
<div class="c-rating c-rating--regular" data-rating-value="@Model.ToString("N2", CultureInfo.InvariantCulture)">
<button>1</button>
<button>2</button>
<button>3</button>
Expand Down
Loading

0 comments on commit 1041cd1

Please sign in to comment.