-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from AnimalFoodBank:wip/oct26
Wip/oct26
- Loading branch information
Showing
10 changed files
with
79 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
|
||
from django.forms import ModelForm | ||
|
||
from afbcore.models import Client | ||
|
||
|
||
class ClientSignupForm(ModelForm): | ||
|
||
class Meta: | ||
model = Client | ||
fields = [ | ||
"first_name", | ||
"last_name", | ||
"email", | ||
"address", | ||
"phone_number", | ||
# "status", | ||
] |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
{% extends 'appshell.html' %} | ||
|
||
{% load static %} | ||
{% load tailwind_filters %} | ||
|
||
|
||
{% block contentHeader %} | ||
|
||
<h1 class="text-3xl font-bold tracking-tight text-gray-900">Join</h1> | ||
|
||
{% endblock %} | ||
|
||
|
||
{% block content %} | ||
|
||
<h2 class="text-2xl font- tracking-tight">Create a client profile</h2> | ||
|
||
<form method="post" class="mt-4" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
|
||
{{form | crispy}} | ||
|
||
<div class="mt-4"> | ||
<button type="submit" class="bg-red-500">Create</button> | ||
</div> | ||
</form> | ||
|
||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters