1<div .col-sm-9>
2  <div .content-box>
3    <h2>
4      Adding a removable drive
5    <p>
6      Clone this repository to a USB drive, memory stick, or other #
7      removable media. Whenever the removable drive is plugged in, its #
8      content will be synced with the content of this repository.
9    <p>
10    $if (null writabledrives)
11      <div .row>
12        <div .col-sm-6 .col-sm-offset-2 .alert .alert-danger .alert-block>
13          $if (null removabledrives)
14            <h4 .alert-heading>
15              No removable drives found
16            Please make sure you have a removable drive plugged in and mounted.
17          $else
18            <h4 .alert-heading>
19              No usable removable drives found
20            Seems you cannot write to any of the removable drives that are #
21            currently mounted. Try plugging in a removable drive that you can #
22            write to, or correcting the write permissions.
23          <p>
24            <a .btn .btn-primary href="@{AddDriveR}">
25              Rescan for removable drives
26    $else
27      <form method="post" enctype=#{enctype} .form-horizontal>
28        <fieldset>
29          ^{form}
30          ^{webAppFormAuthToken}
31          <div .form-group>
32            <div .col-sm-10 .col-sm-offset-2>
33              <button .btn .btn-primary type=submit>Use this drive</button> #
34              <a .btn .btn-default href="@{AddDriveR}">
35                Rescan for removable drives
36