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

@@ -1,13 +1,13 @@
<%= form_tag(moderator_dashboard_path, :method => :get, :class => "simple_form") do %>
<div class="input">
<label for="min_date">Minimum Date</label>
<%= text_field_tag :min_date, @dashboard.min_date %>
<%= text_field_tag :min_date, @dashboard.min_date %>
</div>
<div class="input">
<label for="max_level">Max Level</label>
<%= user_level_select_tag(:max_level) %><br>
</div>
<%= submit_tag "Search" %>
<% end %>

View File

@@ -3,7 +3,7 @@
<label for="user_ids">Search IPs</label>
<%= text_field_tag "search[ip_addr]", params[:ip_addrs] %>
</div>
<%= submit_tag "Search" %>
<% end %>
@@ -12,6 +12,6 @@
<label for="user_ids">Search User IDs</label>
<%= text_field_tag "search[user_id]", params[:user_ids] %>
</div>
<%= submit_tag "Search" %>
<% end %>

View File

@@ -1,7 +1,7 @@
<div id="c-moderator-invitations">
<div id="a-index">
<h1>Invitations</h1>
<ul>
<% @users.each do |user| %>
<li><%= link_to user.name, user_path(user) %></li>

View File

@@ -1,18 +1,18 @@
<div id="c-moderator-invitations">
<div id="a-new">
<h1>New Invitation</h1>
<%= form_tag(moderator_invitations_path, :class => "simple_form") do %>
<div class="input">
<label>User</label>
<%= text_field :invitation, :user_name, :value => params[:invitation][:name] %>
</div>
<div class="input">
<label>Level</label>
<%= level_select %>
</div>
<%= submit_tag %>
<% end %>
</div>

View File

@@ -1,7 +1,7 @@
<div id="c-moderator-ip-addrs">
<div id="a-index">
<h1>IP Addresses</h1>
<table>
<thead>
<tr>

View File

@@ -1,7 +1,7 @@
<div id="c-moderator-ip-addrs">
<div id="a-search">
<h1>Search IP Addresses</h1>
<%= form_tag(moderator_ip_addrs_path, :class => "simple_form") do %>
<%= search_field "user_name", :label => "User" %>
<%= search_field "ip_addr", :label => "IP Addr" %>

View File

@@ -9,7 +9,7 @@
<label for="reason">Reason</label>
<%= text_area_tag "reason" %>
</div>
<%= submit_tag "Delete" %>
<%= submit_tag "Cancel" %>
<% end %>

View File

@@ -9,7 +9,7 @@
<div>
<h1>Moderation Queue</h1>
<div id="moderation-guideline">
<h1>Deletion Guidelines</h1>
<p>
@@ -37,7 +37,7 @@
<li><strong>Score</strong>: <%= post.score %></li>
<li>
<strong>Size:</strong>
<%= number_to_human_size(post.file_size) %>
<%= number_to_human_size(post.file_size) %>
<% if post.is_image? %>
(<%= post.image_width %>x<%= post.image_height %>)
<% end %>
@@ -56,7 +56,7 @@
</article>
<% end %>
</div>
<%= numbered_paginator(@posts) %>
</div>
</div>

View File

@@ -1,18 +1,18 @@
<div id="c-moderator-tags">
<div id="a-edit">
<h1>Mass Edit</h1>
<%= form_tag(moderator_tag_path, :method => :put, :class => "simple_form") do %>
<div class="input">
<label>Antecedent</label>
<%= text_field :tag, :antecedent, :value => params[:antecedent] %>
</div>
<div class="input">
<label>Consequent</label>
<%= text_field :tag, :consequent, :value => params[:consequent] %>
</div>
<div class="input">
<%= submit_tag "Submit" %>
</div>