app/views/main/_float.html.erb in merb-admin-0.8.5 vs app/views/main/_float.html.erb in merb-admin-0.8.6
- old
+ new
@@ -1,12 +1,12 @@
-<%
- property_name = property[:name]
- length = property[:length].to_i
- label = property[:pretty_name]
- required = !property[:nullable?] || property[:serial?]
-%>
- <div>
- <%= text_field(property_name, :maxlength => length, :label => label) %>
- <p class="help">
- <%= required ? "Required." : "Optional." %>
- </p>
- </div>
+<%
+ property_name = property[:name]
+ length = property[:length].to_i
+ label = property[:pretty_name]
+ required = !property[:nullable?] || property[:serial?]
+%>
+ <div>
+ <%= text_field(property_name, :maxlength => length, :label => label) %>
+ <p class="help">
+ <%= required ? "Required." : "Optional." %>
+ </p>
+ </div>