Skip to content

Commit

Permalink
Merge pull request #128 from mongodb-developer/main
Browse files Browse the repository at this point in the history
feature/create event
  • Loading branch information
snarvaez authored Mar 24, 2024
2 parents 60a70c5 + e8260fa commit 9f8a2a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions website/Pages/EventRegister.razor
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</td>
<td>
<h2 class="card-title mt-3 text-center">
<b>@_event.Name</b>
@_event.Name
</h2>
</td>
</tr>
Expand All @@ -70,7 +70,7 @@
<i class="fa fa-user"></i>
</span>
</div>
<input id="name" type="text" class="form-control" placeholder="Nickname (case sensitive! no spaces!)"
<input id="name" type="text" class="form-control" placeholder="Nickname (no spaces! case sensitive!)"
@bind="_player.Name" name="" @oninput="AutoCompleteName" required pattern="/^[a-zA-Z0-9_\-]+$/">


Expand Down
2 changes: 1 addition & 1 deletion website/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<i class="fa fa-user"></i>
</span>
</div>
<input id="name" type="text" class="form-control" placeholder="Nickname (case sensitive! no spaces!)"
<input id="name" type="text" class="form-control" placeholder="Nickname (no spaces! case sensitive!)"
@bind="Player.Name" name="" @oninput="AutoCompleteName" required pattern="/^[a-zA-Z0-9_\-]+$/">


Expand Down
2 changes: 1 addition & 1 deletion website/Pages/PlayerHome.razor
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ else
{
if (string.IsNullOrEmpty(Event.Id) || string.IsNullOrEmpty(Event.Name))
{
_errorMessage = "[please fill out the Event ID and Name]";
_errorMessage = "Please fill out both Event ID and Description";
return;
}

Expand Down

0 comments on commit 9f8a2a4

Please sign in to comment.