Skip to content

Commit 99cc457

Browse files
committed
Proxy Borrower: Make faculty name/dept readonly
These fields are populated for the user and not meant to be changed. Closes: ADA-93
1 parent bfef913 commit 99cc457

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/views/proxy_borrower_forms/faculty_form.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<p>As a University of California <b>Faculty/Academic Staff</b> member (in good standing) at Berkeley, I
1111
request that the Library permit the person named below to withdraw books in my name for use in research.
1212
I will take full responsibility for all materials checked out with this card in my name.</p>
13-
<%= field_for f, :faculty_name %>
14-
<%= field_for f, :department %>
13+
<%= field_for f, :faculty_name, readonly: true %>
14+
<%= field_for f, :department, readonly: true %>
1515
<%= field_for f, :research_last, required: true %>
1616
<%= field_for f, :research_first, required: true %>
1717
<%= field_for f, :research_middle %>

0 commit comments

Comments
 (0)