Skip to content

Commit

Permalink
Submission form cleanup (#1664)
Browse files Browse the repository at this point in the history
* remove parenthesis

* change game version placeholder
  • Loading branch information
Randomno authored Aug 27, 2023
1 parent 748589d commit 7bda267
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class SubmissionCreateModel
[StringLength(100)]
public string GameName { get; set; } = "";

[Display(Name = "Branch Name", Description = "Example: 100% or princess only; any% can usually be omitted)")]
[Display(Name = "Branch Name", Description = "Example: 100% or princess only; any% can usually be omitted")]
[StringLength(50)]
public string? Branch { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion TASVideos/Pages/Submissions/Submit.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<column lg="6">
<form-group>
<label asp-for="Create.GameVersion" class="form-control-label"></label>
<input asp-for="Create.GameVersion" class="form-control" placeholder="USA v1.0" />
<input asp-for="Create.GameVersion" class="form-control" placeholder="@Html.DescriptionFor(m => m.Create.GameVersion)" />
<span asp-validation-for="Create.GameVersion" class="text-danger"></span>
</form-group>
<form-group>
Expand Down

0 comments on commit 7bda267

Please sign in to comment.