lib/arigato/themes/bootstrap/content.html.erb in arigato-0.1.1 vs lib/arigato/themes/bootstrap/content.html.erb in arigato-0.1.2
- old
+ new
@@ -1,13 +1,14 @@
+<%- content_for(:title) { @title } -%>
<div class="page-header">
<h1><%= @title %></h1>
</div>
<table class="table table-condensed table-striped table-hover">
<%- @specs.each do |spec| -%>
<tr>
- <td><%= link_to spec.name, spec.homepage %></td>
- <td><%= author(spec) %></td>
+ <td><%= link_to(spec.name, spec.homepage) %></td>
+ <td><%= Arigato::View.author(spec) %></td>
</tr>
<%- end -%>
</table>
<hr />