Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lucifer1708 committed Jul 30, 2023
2 parents 927e0f5 + f06e5de commit b834560
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
22 changes: 22 additions & 0 deletions forms/migrations/0006_alter_registeration_resume.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated by Django 4.0.8 on 2023-07-30 12:00

import django.core.files.storage
import django.core.validators
from django.db import migrations, models
import forms.models
import pathlib


class Migration(migrations.Migration):

dependencies = [
('forms', '0005_alter_registeration_resume'),
]

operations = [
migrations.AlterField(
model_name='registeration',
name='resume',
field=models.FileField(blank=True, null=True, storage=django.core.files.storage.FileSystemStorage(location=pathlib.PurePosixPath('/home/swastik/Desktop/ISTE/join.istenith.com/media')), upload_to='resumes/', validators=[forms.models.file_size, django.core.validators.FileExtensionValidator(allowed_extensions=['pdf', 'docx'])]),
),
]
7 changes: 3 additions & 4 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ <h6 class="mb-5">CV Upload</h6>
<div class="help-block" style="margin-top:-27px; color: #ffe300;">{{ form.name.errors }}</div>
{% endif %}
</div>
</div>
<div class="row px-3 mt-4 inputBox">
<div class="form-group mt-1 mb-1"> {{form.email}} <label class="ml-3 form-control-placeholder" for="email">{{i.email_input|safe}}</label>
{% if form.email.errors %}
<div class="help-block" style="margin-top:-27px; color: #ffe300;">{{ form.email.errors }}</div>
Expand All @@ -68,9 +66,9 @@ <h6 class="mb-5">CV Upload</h6>
<div class="help-block" style="margin-top:-27px; color: #ffe300;">{{ form.branch.errors }}</div>
{% endif %}
</div>
<div class="next-button text-center mt-1 ml-2"> <span class="fa fa-arrow-right">Next</span> </div>
</div>
</div>
<div class="next-button text-center mt-1 ml-2"> <span class="fa fa-arrow-right">Next</span> </div>
</div>
</div>
<div class="card2 ml-2">
Expand All @@ -94,9 +92,10 @@ <h6 class="mb-5">CV Upload</h6>
<div class="help-block" style="margin-top:-27px; color: #ffe300;">{{ form.weakness.errors }}</div>
{% endif %}
</div>
<div class="next-button text-center mt-1 ml-2"> <span class="fa fa-arrow-right">Next</span> </div>
</div>
</div>
<div class="next-button text-center mt-1 ml-2"> <span class="fa fa-arrow-right">Next</span> </div>

</div>
</div>
<div class="card2 ml-2">
Expand Down

0 comments on commit b834560

Please sign in to comment.