Skip to content

Commit

Permalink
spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Oct 23, 2024
1 parent 08d4a3a commit 9ade652
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/theses/_form_student_editable.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<%= 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" %>

<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" %>
<div class="form-text"><%= raw(AppSettings.student_update_details_subjects) %></div>
<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 +23,5 @@
</div>

<%= f.label :keywords, label: "Keywords", class: "d-block mb-1" %>
<div class="form-text"><%= raw(AppSettings.student_update_details_keywords) %></div>
<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") %>

0 comments on commit 9ade652

Please sign in to comment.