Skip to content

Commit

Permalink
increase form row spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Jan 15, 2025
1 parent c312428 commit e081c3a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/views/data_requests/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<%= simple_form_for @data_request, :html => {} do |f| %>
<div class="row mb-3">
<div class="row my-4">
<div class="col-md-4">
<h2 class="h5">Name &amp; Contact</h2>
</div>
<div class="col-md-8">
<div class="row">
<div class="col-12">
<div class="col-12 mb-3">
<h3 class="requestor_name"><%= current_user.name.capitalize %></h3>
</div>
<div class="col-md-6">
Expand All @@ -20,7 +20,7 @@

<hr>

<div class="row mb-3">
<div class="row my-4">
<div class="col-md-4">
<h2 class="h5">Data or Map Request Details</h2>
</div>
Expand All @@ -39,11 +39,11 @@
</div>

<div class="col-md-12">
<div id="course_info_box">
<div class="mt-3" id="course_info_box">
<%= f.input :course_info, input_html: {class: "form-control"} %>
</div>

<div id="project_description_box">
<div class="mt-3" id="project_description_box">
<%= f.input :project_description, as: :text, input_html: {:rows => 2, :cols => 200, :class => "form-control"} %>
</div>
</div>
Expand All @@ -62,11 +62,11 @@
<% end %>
</div>

<div class="col-md-12" id="participants_count_box">
<div class="col-md-12 mt-3" id="participants_count_box">
<%= f.input :participants_count, label: "How many people will be using these data or maps?", collection: 1..8, :include_blank => false, input_html: {class: "form-select"} %>
</div>

<div class="col-md-12 d-none" id="participants_names_box">
<div class="col-md-12 mt-3 d-none" id="participants_names_box">
<%= f.input :participants_names, label: "Please list their names, one per line, including yourself. Indicate name, status (York Faculty, York Student, or York Staff), and email.", as: :text, input_html: {:rows => 5, :cols => 200, :class => "form-control", title: "Please list their name, one per line. Indicate name, status (York Faculty, York Student, or York Staff), and email."} %>
</div>
</div>
Expand All @@ -75,7 +75,7 @@

<hr>

<div class="row mb-3">
<div class="row my-4">
<div class="col-md-4">
<h2 class="h5">Data Sets</h2>
</div>
Expand All @@ -90,7 +90,7 @@

<hr>

<div class="row mb-3">
<div class="row my-4">
<div class="col-md-4">
<h2 class="h5">Scanned Maps</h2>
</div>
Expand All @@ -110,7 +110,7 @@

<hr>

<div class="row mb-3">
<div class="row my-4">
<div class="col-md-4">
</div>

Expand Down

0 comments on commit e081c3a

Please sign in to comment.