lib/generators/bootswatch_rails/install/templates/lib/templates/erb/scaffold/show.html.erb in bootswatch_rails-3.2.0.13 vs lib/generators/bootswatch_rails/install/templates/lib/templates/erb/scaffold/show.html.erb in bootswatch_rails-3.2.0.14
- old
+ new
@@ -11,12 +11,9 @@
<%%= t('activerecord.attributes.<%= singular_table_name %>.<%= attribute.name %>') %>
<%- end -%>
</td>
<td>
<%- if attribute.name.include?("picture") -%>
- <p>
- <%%= link_to "TODO: Anzeigen in Originalgröße", '#' %>
- </p>
<%%= image_tag(@<%= singular_table_name %>.<%= attribute.name %>_url(:display)) %>
<%- elsif attribute.type == :boolean -%>
<%%= @<%= singular_table_name %>.<%= attribute.name %> ? t('simple_form.yes') : t('simple_form.no') %>
<%- elsif attribute.type == :belongs_to -%>
<%%= @<%= singular_table_name %>.<%= attribute.name %>.name %>