summaryrefslogtreecommitdiff
path: root/app/views/users/edit_website_settings.html.erb
blob: a32efcf842840792a411c7d0dca24bb7aac720b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<% title "Edit Website Settings: #{@user.name}" %>

<%= link_to @user.name, @user %> → Edit Website Settings
<h1>Edit Website Settings</h1>


<%= form_for @user do |f| %>
  <table>
    <tbody>
      <tr>
        <td>Header moves with scrolling</td>
        <td>
          <%= f.check_box :header_scroll %>
        </td>
      </tr>
      <tr>
        <td>Show exact UTC times</td>
        <td>
          <%= f.check_box :utc_time %>
        </td>
      </tr>
      <tr>
        <td>Dark theme</td>
        <td>
          <%= f.check_box :dark %>
        </td>
      </tr>
    </tbody>
  </table>
  <p><%= f.submit "Save Changes", class: "btn blue left" %></p>
  <div class="clear"></div>
<% end %>