33 lines
700 B
Plaintext
33 lines
700 B
Plaintext
<% 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 %>
|