Skip to content

Commit

Permalink
fix(*): add ai prompts to job opportunity edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
belwalshubham committed Jul 31, 2024
1 parent b59f1b2 commit 656d8f1
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion resources/views/hr/job/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,25 @@ class="form-control"
</div>
</div>
</div>
</form>
<!-- New AI Prompts Section -->
<div class="card mb-3">
<div class="card-header">
<h5 class="mb-0">AI Prompts</h5>
</div>
<div class="card-body">
<div class="form-row">
<div class="col-md-6 form-group">
<label for="ai_prompt_1" class="fz-14 leading-none text-secondary mb-1">Instruction</label>
<input type="text" class="form-control" id="ai_prompt_1" name="ai_prompt_1" placeholder="Enter AI Instruction..." value="{{ old('ai_prompt_1', $job->ai_prompt_1) }}">
</div>
<div class="col-md-6 form-group">
<label for="ai_prompt_2" class="fz-14 leading-none text-secondary mb-1">Prompt</label>
<input type="text" class="form-control" id="ai_prompt_2" name="ai_prompt_2" placeholder="Enter AI Prompt..." value="{{ old('ai_prompt_2', $job->ai_prompt_2) }}">
</div>
</div>
</div>
</div>

<div class="d-flex">
<button type="submit" class="btn btn-primary ml-2" form="update-form">Update</button>
<a href="{{ $job->link }}" target="_blank" class="btn btn-info ml-2" role="button">Preview job</a>
Expand Down

0 comments on commit 656d8f1

Please sign in to comment.