Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Oct 25, 2024
1 parent 67292d1 commit 5672649
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions app/views/settings/_student_submission.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<%= f.input :student_upload_files, as: :rich_text_area, label: "Upload files message", input_html: { rows: 20 } %>
<%= f.input :student_supplementary_upload_files, as: :rich_text_area, label: "Supplementary Upload files message", input_html: { rows: 30 } %>
<%= f.input :student_supplementary_embargo_upload_files, as: :rich_text_area, label: "Supplementary Embargo Upload files message", input_html: { rows: 30 } %>
<%= f.input :primary_thesis_file_extensions, as: :text, label: "Primary Thesis File Extensions", input_html: { rows: 3 } %>
<%= f.input :supplemental_thesis_file_extensions, as: :text, label: "Supplementary Thesis File Extensions", input_html: { rows: 3 } %>
<%= f.input :licence_file_extensions, as: :text, label: "Licence File Extensions", input_html: { rows: 3 } %>
<%= f.input :embargo_file_extensions, as: :text, label: "Embargo File Extensions", input_html: { rows: 3 } %>
</div>
<div class="tab-pane fade" id="nav-review" role="tabpanel" aria-labelledby="nav-review-tab" tabindex="0">
<%= f.input :student_review_license_info, as: :rich_text_area, label: "Information", input_html: { rows: 20, class: "mb-4" } %>
Expand Down
5 changes: 0 additions & 5 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,3 @@
AppSettings.embargo_file_extensions = <<HEREDOC
.pdf, .txt, .html, .htm, .odt, .odp, .ods
HEREDOC

AppSettings.keys.each do |k|
v = eval("AppSettings.#{k}")
AppSettings.send("#{k}=", v)
end

0 comments on commit 5672649

Please sign in to comment.