Kill trailing whitespace in erb files
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<%= f.input :group_name %>
|
||||
<%= f.input :url_string, :label => "URLs", :as => :text, :input_html => {:size => "50x5"} %>
|
||||
<%= f.input :is_active %>
|
||||
|
||||
|
||||
<%= dtext_field "artist", "notes" %>
|
||||
<%= f.button :submit, "Submit" %>
|
||||
<%= dtext_preview_button "artist", "notes" %>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<div id="c-artists">
|
||||
<div id="a-banned">
|
||||
<h1>Banned Artists</h1>
|
||||
|
||||
|
||||
<p>The following artists have requested they be removed from the site. Please do not upload any works from these artists. These artists all have implications pointing to the <code>banned_artist</code> tag.</p>
|
||||
|
||||
|
||||
<ul>
|
||||
<% @artists.each do |artist| %>
|
||||
<li><%= link_to artist.name, artist_path(artist) %></li>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div id="c-artists">
|
||||
<div id="a-edit">
|
||||
<h1>Edit Artist</h1>
|
||||
<%= render "form" %>
|
||||
<%= render "form" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div id="c-artists">
|
||||
<div id="a-index">
|
||||
<h1>Artists</h1>
|
||||
|
||||
|
||||
<table class="striped" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<div id="c-artists">
|
||||
<div id="a-new">
|
||||
<h1>New Artist</h1>
|
||||
|
||||
|
||||
<%= error_messages_for :artist %>
|
||||
|
||||
<%= render "form" %>
|
||||
|
||||
<%= render "form" %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div id="c-artists">
|
||||
<div id="a-search">
|
||||
<h1>Search Artists</h1>
|
||||
|
||||
|
||||
<div id="search-form">
|
||||
<%= form_tag(artists_path, :method => :get, :class => "simple_form") do %>
|
||||
<div class="input">
|
||||
@@ -9,7 +9,7 @@
|
||||
<%= text_field "search", "name" %>
|
||||
<p class="hint">You can search on any name or URL</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="input">
|
||||
<label>Sort</label>
|
||||
<%= select "search", "sort", ["Date", "Name"] %>
|
||||
|
||||
Reference in New Issue
Block a user