style user deletion page (#1676)

This commit is contained in:
Toks
2013-05-26 08:08:05 -04:00
parent c60a5fcc31
commit 240b160b8a
2 changed files with 35 additions and 17 deletions

View File

@@ -0,0 +1,10 @@
div#c-maintenance-user-deletions {
ul {
margin-left: 1em;
margin-bottom: 1em;
}
li {
list-style-type: disc;
}
}

View File

@@ -1,23 +1,31 @@
<h1>Delete Account</h1>
<div id="c-maintenance-user-deletions">
<div id="a-show">
<h1>Delete Account</h1>
<p>You can delete your account. This will not actually remove your account from the database, but it will do the following things:</p>
<p>You can delete your account. This will not actually remove your account from the database, but it will do the following things:</p>
<ul>
<li>Rename your account to a generic string</li>
<li>Scramble your password</li>
<li>Remove all your favorites</li>
<li>Blank out your settings (including email)</li>
</ul>
<ul>
<li>Rename your account to a generic string</li>
<li>Scramble your password</li>
<li>Remove all your favorites</li>
<li>Blank out your settings (including email)</li>
</ul>
<p>You must enter your password to delete your account.</p>
<p>You must enter your password to delete your account.</p>
<%= form_tag(maintenance_user_deletion_path, :method => :delete, :class => "simple_form") do %>
<div class="input">
<label>Password</label>
<%= password_field_tag :password %>
<%= form_tag(maintenance_user_deletion_path, :method => :delete, :class => "simple_form") do %>
<div class="input">
<label>Password</label>
<%= password_field_tag :password %>
</div>
<div class="input">
<%= submit_tag %>
</div>
<% end %>
</div>
</div>
<div class="input">
<%= submit_tag %>
</div>
<% end %>
<% content_for(:page_title) do %>
Delete Account - <%= Danbooru.config.app_name %>
<% end %>