diff --git a/app/views/glossary_terms/index.html.erb b/app/views/glossary_terms/index.html.erb index 77ca0ca..cee5f2e 100644 --- a/app/views/glossary_terms/index.html.erb +++ b/app/views/glossary_terms/index.html.erb @@ -1,9 +1,9 @@ -

<%=t :label_glossary_terms %>

+

<%=l :label_glossary_terms %>

- + @@ -11,7 +11,7 @@ <% @glossary_terms.each do |term| %>
<%=t :field_name %><%=l :field_name %> <%=l :field_description %>
- <%= term.name %> + <%= link_to term.name, term %> <%= term.description %> diff --git a/app/views/glossary_terms/show.html.erb b/app/views/glossary_terms/show.html.erb index df2dd24..56cf6ea 100644 --- a/app/views/glossary_terms/show.html.erb +++ b/app/views/glossary_terms/show.html.erb @@ -1,10 +1,18 @@ -

<%=t :label_glossary_term %> #<%= @term.id %>

+

<%=l :label_glossary_term %> #<%= @term.id %>

<%= @term.name %>

- + + + + + + + + +
<%=t :field_description %><%=l :field_description %> <%= @term.description %>
<%=l :field_created_on %><%= format_time(@term.created_at) %>
<%=l :field_updated_on %><%= format_time(@term.updated_at) %>