Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Adds description field" #19

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

2 changes: 0 additions & 2 deletions src/frontend/PetSpotR/Data/PetModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public class PetModel
public string ID { get; set; }
public string State { get; set; }
public List<string> Images { get; set; }
public string Description { get; set; }


// Constructor
Expand All @@ -24,7 +23,6 @@ public PetModel()
ID = Guid.NewGuid().ToString();
State = "new";
Images = new();
Description = "";
}

public async Task SavePetStateAsync(DaprClient daprClient, string storeName)
Expand Down
6 changes: 0 additions & 6 deletions src/frontend/PetSpotR/Pages/LostPet.razor
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@
<InputText id="owneremail" @bind-Value="petModel.OwnerEmail" />
</div>
</div>
<div class="form-group row justify-content-center">
<label for="petDescription" class="col-2 col-form-label">Pet Description</label>
<div class="col-4">
<InputTextArea id="description" @bind-Value="petModel.Description" />
</div>
</div>
<h2>Step 2: Upload images of your pet</h2>
<p><i>For best results upload at least 8-10 images with different angles, lighting, and backgrounds</i></p>
<div class="form-group row justify-content-center">
Expand Down
Loading