app/views/fields/string/_show.html.erb in administrate-0.0.12 vs app/views/fields/string/_show.html.erb in administrate-0.1.0
- old
+ new
@@ -1,16 +1,33 @@
+<%#
+# String Show Partial
+
+This partial renders a string attribute,
+to be displayed on a resource's show page.
+
+By default, the attribute is rendered as an unformatted string.
+
+## Local variables:
+
+- `field`:
+ An instance of [Administrate::Field::String][1].
+ A wrapper around the String pulled from the database.
+
+[1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/String
+%>
+
<%= field.data %>