Kill trailing whitespace in erb files

This commit is contained in:
小太
2013-03-19 23:11:58 +11:00
parent aef86bda04
commit 1a03a86592
119 changed files with 271 additions and 271 deletions

View File

@@ -5,7 +5,7 @@
<%= label_tag :name %>
<%= text_field_tag :name %>
<%= label_tag :password %>
<%= password_field_tag :password %>
<% end %>

View File

@@ -2,11 +2,11 @@
<menu>
<li><%= link_to "Listing", users_path %></li>
<li><%= link_to "Search", search_users_path %></li>
<% if CurrentUser.is_anonymous? %>
<li><%= link_to "Sign up", new_user_path %></li>
<% end %>
<% if @user && !@user.new_record? && !CurrentUser.is_anonymous? %>
<li>|</li>
<% if @user.id == CurrentUser.id %>
@@ -19,15 +19,15 @@
<% else %>
<li><%= link_to "Send message", new_dmail_path(:dmail => {:to_id => @user.id}) %></li>
<% end %>
<% if !CurrentUser.is_privileged? %>
<li><%= link_to "Upgrade", upgrade_information_users_path %></li>
<% end %>
<% if CurrentUser.is_moderator? %>
<li><%= link_to "Promote", edit_admin_user_path(@user) %></li>
<% end %>
<li>|</li>
<li><%= link_to "Sign out", sign_out_session_path %></li>
<% end %>

View File

@@ -33,7 +33,7 @@
<th>Uploads</th>
<td><%= presenter.upload_count(self) %></td>
</tr>
<tr>
<th>Deleted Uploads</th>
<td><%= presenter.deleted_upload_count(self) %></td>
@@ -83,7 +83,7 @@
<th>Feedback</th>
<td><%= presenter.feedbacks(self) %></td> </tbody>
</tr>
<tr>
<th>Subscriptions</th>
<td>

View File

@@ -1,7 +1,7 @@
<div id="c-users">
<div id="a-edit">
<h1>Settings</h1>
<%= simple_form_for @user do |f| %>
<fieldset>
<div class="input">
@@ -23,7 +23,7 @@
<textarea id="user_favorite_tags" class="text optional" rows="5" name="user[favorite_tags]" cols="40"><%= raw @user.favorite_tags %></textarea>
<span class="hint">A list of whitespace delimited tags that show up in your profile. <%= link_to "Restore from old database", restore_uploaded_tags_user_path(@user), :method => :post, :remote => true %></span>
</div>
<%= f.input :blacklisted_tags, :hint => "A list of newline delimited tags that you never want to see", :input_html => {:size => "40x5"} %>
</fieldset>

View File

@@ -1,13 +1,13 @@
<div id="c-users">
<div id="a-index">
<h1>Users</h1>
<% form_tag(users_path, :method => :get, :class => "simple_form") do %>
<%= search_field "name_matches", :label => "Name" %>
<%= submit_tag "Search" %>
<% end %>
<table width="100%" class="striped">
<table width="100%" class="striped">
<thead>
<tr>
<th></th>

View File

@@ -3,9 +3,9 @@
<h1>Sign Up</h1>
<p>A basic account is <strong>free</strong> and lets you keep favorites, upload artwork, and write comments. If you want <%= link_to "more features", wiki_pages_path(:title => "help:accounts") %> you can upgrade your account later.</p>
<h1 style="margin-bottom: 1em;">This site is open to web crawlers so whatever name you choose will be public!</h1>
<p>This includes favorites, uploads, and comments. Almost everything is public. So don't choose a name you don't want to be associated with.</p>
<div id="p3">

View File

@@ -2,7 +2,7 @@
<div id="a-search">
<%= form_tag(users_path, :method => :get, :class => "simple_form") do %>
<%= search_field "name_matches", :label => "Name" %>
<div class="input">
<label for="search_level">Level</label>
<%= select("search", "level", [""] + User.level_hash.to_a) %>
@@ -12,12 +12,12 @@
<label for="search_min_level">Min Level</label>
<%= select("search", "min_level", [""] + User.level_hash.to_a) %>
</div>
<div class="input">
<label for="search_order">Order</label>
<%= select("search", "order", [["Join date", "date"], ["Name", "name"], ["Upload count", "post_upload_count"], ["Note count", "note_count"], ["Post update count", "post_update_count"]]) %>
</div>
<%= submit_tag "Search" %>
<% end %>
</div>

View File

@@ -1,9 +1,9 @@
<div id="c-users">
<div id="a-upgrade-information">
<h1>Upgrade Your Account</h1>
<p class="copy">Annoyed by ads? Want more searching power? Upgrade your account and become a power user of the best database of anime artwork on the internet.</p>
<div id="feature-comparison">
<table>
<thead>