OtherContent - PresConsUIUC/PSAP GitHub Wiki

(This page refers to non-HTMLBundle, non-AssessmentQuestion content.)

The application contains a number of mostly-but-not-entirely-static HTML pages that live outside of a bundle. (Simple Help is one example.) These are a little more awkward to edit, because they are written using a superset of HTML called ERB. (Here is the simple help page in ERB.) ERB files contain tags that look like <% %>. The application will replace these tags with dynamic values when the page is loaded. When ERB files are loaded in a web browser outside of the application, the ERB tags won't look right.

To edit these files, the main options are:

  1. Copy the ERB code of the file you want to edit into an HTML file, and edit the HTML parts. Ignore the ERB tags. When finished, pass it on to @adolski for re-insertion into the application.
  2. Use git to fork the application. Create a new branch. Edit the ERB files directly, previewing them in the application as you go, commit your changes and create a pull request.
⚠️ **GitHub.com Fallback** ⚠️