Skip to content

Commit

Permalink
adjusted ui in aquisition requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Deli authored and Dennis Deli committed Dec 23, 2024
1 parent aa6c394 commit f97d7fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/views/acquisition_requests/_send_email_choice.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<% if can? :send_to_acquisitions, @acquisition_request %>
<hr/>
<p>Send Acquisition Email To:</p>
<%= form_tag send_to_acquisitions_acquisition_request_path(@acquisition_request), method: :post do |f| %>
<select name="which" class="form-control">
Expand Down
7 changes: 4 additions & 3 deletions app/views/acquisition_requests/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@
<%= @acquisition_request.location == nil ? "Unassigned Location" : @acquisition_request.location.name %>

<br/><br/>
<%= render partial: "send_email_choice" %>

</div>
<div class="col-md-6 left-border">
<%= render partial: "send_email_choice" %>
<% if @acquisition_request.status == AcquisitionRequest::STATUS_ACQUIRED %>
<span class="text-primary field">Acquired By</span>
<%= format @acquisition_request.acquired_by.name %>
Expand All @@ -68,9 +69,9 @@
<span class="text-primary field">Cancellation Reason</span>
<%= format @acquisition_request.cancellation_reason %>
<% elsif can? :change_status, @acquisition_request %>
<div id="acquire_form">
<!-- <div id="acquire_form">
<p class="small">All fields are required.</p>
</div>
</div> -->

<div class="collapse" id="cancel_form">
<p class="small">Please provide the reason for cancellation</p>
Expand Down

0 comments on commit f97d7fd

Please sign in to comment.