We have some specific css and link/button visibility with read-only users. This PR looks at the read-only user's perspective when looking at both the index page and a conservation record, and makes sure that it is only showing the links it should. Read only users should not have links to create or edit conservation records, or to add new repairs or technicians. They should have disabled input fields for the treatment report fields.
Other Changes
app/views/treatment_reports/_abbreviated_treatment_report_form.html.erb - removed blank line
app/views/treatment_reports/_form.html.erb - corrected form indentation. Did not change form.
We have some specific css and link/button visibility with read-only users. This PR looks at the read-only user's perspective when looking at both the index page and a conservation record, and makes sure that it is only showing the links it should. Read only users should not have links to create or edit conservation records, or to add new repairs or technicians. They should have disabled input fields for the treatment report fields.
Other Changes