changeset 410:a2f8e5c80769

Fix html compliance.
author nanaya <me@myconan.net>
date Sun, 06 Sep 2015 05:05:05 +0900
parents 130dc1054fd2
children 731bf8577da6
files app/views/layouts/application.html.erb app/views/pastes/new.html.erb app/views/shared/_filter_spam.html.erb
diffstat 3 files changed, 10 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/layouts/application.html.erb	Sun Sep 06 04:58:03 2015 +0900
+++ b/app/views/layouts/application.html.erb	Sun Sep 06 05:05:05 2015 +0900
@@ -23,18 +23,21 @@
           <ul class="nav navbar-nav navbar-right">
             <li>
               <%= link_to t(".about"), "#",
-                :data => { :toggle => "modal",
-                    :target => "#modal-about" }
+                  :data => { :toggle => "modal",
+                  :target => "#modal-about" }
               %>
             </li>
             <li>
               <a href="https://bitbucket.org/nanaya1/zeropaste"><%= t(".source") %></a>
             </li>
             <li>
-              <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=me%40myconan%2enet&lc=ID&item_name=Zeropaste%20development&currency_code=USD&bn=PP%2dDonationsBF%3abtn_subscribe_LG%2egif%3aNonHosted"><%= t(".donate") %></a>
+              <%= link_to t(".donate"),
+                  "https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=me%40myconan%2enet&lc=ID&item_name=Zeropaste%20development&currency_code=USD&bn=PP%2dDonationsBF%3abtn_subscribe_LG%2egif%3aNonHosted"
+              %>
             </li>
-         </ul>
-         </div>
+          </ul>
+        </div>
+      </div>
     </nav>
 
     <div class="container">
--- a/app/views/pastes/new.html.erb	Sun Sep 06 04:58:03 2015 +0900
+++ b/app/views/pastes/new.html.erb	Sun Sep 06 05:05:05 2015 +0900
@@ -40,7 +40,7 @@
     <%= f.button :class => "btn btn-primary" %>
 
     <%= link_to t(".clear"), "#", :class => "btn btn-danger js-paste-clear" %>
-  </div></div>
+  </div>
 <% end %>
 
 <div class="modal fade js-paste-preview-md-modal" tabindex="-1" role="dialog">
--- a/app/views/shared/_filter_spam.html.erb	Sun Sep 06 04:58:03 2015 +0900
+++ b/app/views/shared/_filter_spam.html.erb	Sun Sep 06 05:05:05 2015 +0900
@@ -1,4 +1,4 @@
 <div class="input-url1">
-  <label for="url1">url 1</label>
+  <label>url 1</label>
   <input name="url1" type="text" />
 </div>