vextoly/gitman

Fork of patx/gitman.

% rebase("base.tpl", title="Preferences", user=user, error=error, notice=notice)

<section class="auth-card wide">
  <h1>Preferences</h1>
  <form method="post">
    {{!csrf_field()}}
    <label>
      Time zone
      <select name="timezone">
        % for zone in timezone_choices:
          <option value="{{zone}}" {{'selected' if zone == current_timezone else ''}}>{{zone}}</option>
        % end
      </select>
    </label>
    <p class="muted">Dates and times across GitMan are shown in your time zone. The default is UTC.</p>
    <button class="button" type="submit">Save preferences</button>
  </form>
  <p class="muted"><a href="/settings/password">Change password</a></p>
</section>