templates/index.html in qedproject-0.0.4 vs templates/index.html in qedproject-0.0.5
- old
+ new
@@ -1,14 +1,14 @@
<!DOCTYPE html>
<html>
<head>
<title>Project</title>
- <% if @project.jammit %>
+<% if @project.jammit -%>
<link rel="stylesheet" href="assets/app.css">
- <% else -%>
+<% else -%>
<link rel="stylesheet" href="stylesheets/style.css">
- <% end -%>
+<% end -%>
</head>
<body>
<h1>My Project</h1>
@@ -21,15 +21,14 @@
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
</p>
-
- <% if @project.jammit %>
+<% if @project.jammit -%>
<script src="assets/app.js"></script>
- <% else -%>
- <% @project.js_assets.each do |js| -%>
- <script src="javascripts/<%=js %>"></script>
- <% end -%>
- <% end -%>
+<% else -%>
+<% @project.js_assets.each do |js| -%>
+ <script src="javascripts/<%=js %>"></script>
+<% end -%>
+<% end -%>
</body>
</html>
\ No newline at end of file