Skip to content

Commit

Permalink
text formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Oct 23, 2024
1 parent e64a706 commit 681b108
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 28 deletions.
2 changes: 1 addition & 1 deletion app/views/student_view/process/begin.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<%= simple_form_for @student, method: :post, url: organize_student_information_student_thesis_path(@student, @thesis), html: { class: "form-horizontal border border-2 bg-light" } do |f| %>

<%= f.label :email_external, label: "Non-YorkU Email Address", required: true, class: "d-block mb-1" %>
<p class="form-text"><%= raw(AppSettings.student_begin_external_non_yorku_email) %></p>
<div class="form-text"><%= raw(AppSettings.student_begin_external_non_yorku_email) %></div>
<%= f.input :email_external, label: false %>

<div class="row">
Expand Down
6 changes: 3 additions & 3 deletions app/views/student_view/process/review.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<h4 title="LAC Supplementary Licence File Upload">Library and Archives Canada Licence</h4>

<% if AppSettings.student_review_lac_licence_instructions.present? %>
<div class="small text-secondary">
<div class="form-text">
<%= raw(AppSettings.student_review_lac_licence_instructions) %>
</div>
<% end %>
Expand All @@ -67,7 +67,7 @@

<div class="licence-box my-5 bg-light p-3" >
<h4 title="Yorkspace Distribution Licence">Yorkspace Distribution Licence</h4>
<p class="small text-secondary">Please review the licence below and accept if you agree</p>
<div class="form-text">Please review the licence below and accept if you agree</div>
<hr class="text-primary border-3">
<p>
<a id="ydlButton" class="btn btn-primary" data-bs-toggle="collapse" href="#collapseYDL" role="button" aria-expanded="false" aria-controls="collapseYDL">
Expand All @@ -89,7 +89,7 @@

<div class="licence-box my-5 bg-light p-3" >
<h4 title="ETD Licence Agreement">ETD Licence Agreement</h4>
<p class="small text-secondary">Please review the licence below and accept if you agree</p>
<div class="form-text">Please review the licence below and accept if you agree</div>
<hr class="text-primary border-3">
<p>
<a id="etdButton" class="btn btn-primary" data-bs-toggle="collapse" href="#collapseETD" role="button" aria-expanded="false" aria-controls="collapseETD">
Expand Down
6 changes: 3 additions & 3 deletions app/views/theses/_form_student_editable.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<%= f.input :language, collection: Thesis::LANGUAGE, readonly: read_only_if_student("language"), input_html: { aria_label: "Language" } %>

<%= f.label :abstract, label: "Abstract", required: true, class: "d-block mb-1" %>
<small class="form-text"><%= raw(AppSettings.student_update_details_abstract) %></small>
<div class="form-text"><%= raw(AppSettings.student_update_details_abstract) %></div>
<%= f.input :abstract, input_html: { class: "", rows: "8" }, label: false, readonly: read_only_if_student("abstract") %>

<%= f.label :loc_subject_ids, label: "Subjects", class: "d-block mb-1" %>
<small class="form-text"><%= raw(AppSettings.student_update_details_subjects) %></small>
<div class="form-text"><%= raw(AppSettings.student_update_details_subjects) %></div>

<div id="thesis_loc_subject_ids" class="span3 no-space">
<% @thesis.loc_subjects.each_with_index do |subject, index| %>
Expand All @@ -22,5 +22,5 @@
</div>

<%= f.label :keywords, label: "Keywords", class: "d-block mb-1" %>
<small class="form-text"><%= raw(AppSettings.student_update_details_keywords) %></small>
<div class="form-text"><%= raw(AppSettings.student_update_details_keywords) %></div>
<%= f.input :keywords, label: false, input_html: { rows: "2", aria:{ label: "Keywords" } }, readonly: read_only_if_student("keywords") %>
Loading

0 comments on commit 681b108

Please sign in to comment.