Skip to content

Commit

Permalink
fix: refrain from calling methods in a Django template, consistently …
Browse files Browse the repository at this point in the history
…set placeholder to "*" (#1365)
  • Loading branch information
drikusroor authored Nov 15, 2024
1 parent 68e1bac commit b15fd10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/experiment/templates/edit-sections.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ <h1>Edit sections for playlist: {{playlist.name}}</h1>
</td>
<td>
<input type="text" name="{{section.id}}_artist" maxlength="128" id="{{section.id}}_artist"
value="{{ section.artist_name('*')}}" >
value="{{ section.artist_name}}" placeholder="*">
</td>
<td>
<input type="text" name="{{section.id}}_name" maxlength="128" id="{{section.id}}_name"
value="{{ section.song_name('*')}}" >
value="{{ section.song_name}}" placeholder="*">
</td>
<td>
<input type="number" name="{{section.id}}_start_time" maxlength="128" required=""
Expand Down

0 comments on commit b15fd10

Please sign in to comment.