summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-29 14:57:23 +0200
committerAzul <azul@leap.se>2014-05-29 14:57:23 +0200
commitab49a72b52575f3b9fdf13fee47e99dfb82e2a3d (patch)
tree3e5424cf354080064a92ad07e5bc5396a9d01516
parentdf1c2438fcfe39edfb46546be8fcee5021f95fc3 (diff)
html5: <br> instead of <br/>
-rw-r--r--app/controllers/controller_extension/flash.rb4
-rw-r--r--app/views/pages/terms-of-service.en.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/controller_extension/flash.rb b/app/controllers/controller_extension/flash.rb
index 8bc9ee7..1642141 100644
--- a/app/controllers/controller_extension/flash.rb
+++ b/app/controllers/controller_extension/flash.rb
@@ -37,7 +37,7 @@ module ControllerExtension::Flash
def add_flash_errors_for(resource)
return if resource.valid?
- flash[:error] += "<br/>"
- flash[:error] += resource.errors.full_messages.join(". <br/>")
+ flash[:error] += "<br>"
+ flash[:error] += resource.errors.full_messages.join(". <br>")
end
end
diff --git a/app/views/pages/terms-of-service.en.md b/app/views/pages/terms-of-service.en.md
index 7b57027..93490b7 100644
--- a/app/views/pages/terms-of-service.en.md
+++ b/app/views/pages/terms-of-service.en.md
@@ -3,8 +3,8 @@
This document is our Terms of Service, which describes what activities are allowed, under what conditions we may terminate your account, and asserts our limited liability. It applies to all interactions with **<%=APP_CONFIG[:domain]%>**. Your use of **<%=APP_CONFIG[:domain]%>** services will constitute your agreement to these Terms of Service.
<p class="alert alert-info">
- <b>Summary:</b><br/>
- (1) If you do anything truly evil, we will terminate your account.<br/>
+ <b>Summary:</b><br>
+ (1) If you do anything truly evil, we will terminate your account.<br>
(2) We are not liable for any damages related to the use of this service.
</p>