app/views/fields/text/_form.html.erb in administrate-0.1.0 vs app/views/fields/text/_form.html.erb in administrate-0.1.1
- old
+ new
@@ -1,15 +1,31 @@
+<%#
+# Text Form Partial
+
+This partial renders a textarea element for a text attribute.
+
+## Local variables:
+
+- `f`:
+ A Rails form generator, used to help create the appropriate input fields.
+- `field`:
+ An instance of [Administrate::Field::Text][1].
+ A wrapper around the Text pulled from the database.
+
+[1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Text
+%>
+
<%= f.label field.attribute %>
<%= f.text_area field.attribute %>