-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* messages display for mobile and desktop fixed * removed pre-commit * bulk export bug fixed * Organization Registration form completed --------- Co-authored-by: Shahryar Tayeb <[email protected]>
- Loading branch information
1 parent
e524eb7
commit c073731
Showing
17 changed files
with
188 additions
and
26 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,27 @@ | ||
# Generated by Django 4.0.6 on 2023-12-18 07:28 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("rh", "0005_remove_beneficiarytype_is_regular_beneficiary_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="organization", | ||
name="type", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("National NGO", "National NGO"), | ||
("International NGO", "International NGO"), | ||
("Government", "Government"), | ||
("Business", "Business"), | ||
], | ||
max_length=200, | ||
null=True, | ||
), | ||
), | ||
] |
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
42 changes: 42 additions & 0 deletions
42
src/rh/templates/rh/projects/forms/organization_register_form.html
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,42 @@ | ||
{% extends "../../../_base.html" %} | ||
{% load static %} | ||
{% load vite %} | ||
{% block content %} | ||
<div class="login-section sign-up base-section"> | ||
<div class="decor-holder"> | ||
<img src="{% static 'rh/images/login-decor.png' %}" | ||
alt="image description" /> | ||
</div> | ||
<div class="container"> | ||
<div class="section-heading"> | ||
<h1 class="title">Add Organization</h1> | ||
<small id="test"></small> | ||
<div class="description"> | ||
<div class="text"> | ||
<p> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non magna vel quam aliquet luctus. | ||
Duis imperdiet vel urna eu hendrerit. Suspendisse tristique | ||
odio ac quam porta, at pulvinar enim varius. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
<form method="POST" class="login-form"> | ||
{% csrf_token %} | ||
<div class="form-holder"> | ||
{% for field in org_form %} | ||
<div class="input-field is-required"> | ||
{{ field.label_tag }} | ||
<div class="input-holder">{{ field }}</div> | ||
<div class="sign-up-field-error">{{field.errors}}</div> | ||
</div> | ||
{% endfor %} | ||
<div class="btn-holder"> | ||
<button type="submit" class="btn btn-red">Save</button> | ||
</div> | ||
|
||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
{% endblock content %} |
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 |
---|---|---|
|
@@ -119,5 +119,4 @@ $(function () { | |
}) | ||
|
||
$('.js_multiselect').select2() | ||
|
||
}); |
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