Prepare Player-Delete modal. Update disabled-design.
This commit is contained in:
@@ -43,11 +43,10 @@ func GetPlayersByClanHTML(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
playerItem := string(file)
|
||||
//player_item = strings.Replace(player_item, "PLAYERNAME", player.Name, 1)
|
||||
|
||||
var htmlOptions string
|
||||
for _, player := range players {
|
||||
htmlOptions += fmt.Sprintf(playerItem, player.Name)
|
||||
htmlOptions += fmt.Sprintf(playerItem, player.Name, player.ID)
|
||||
}
|
||||
|
||||
c.Header("Content-Type", "text/html")
|
||||
|
||||
Reference in New Issue
Block a user