app/views/main/_date.html.erb in sferik-merb-admin-0.3.6 vs app/views/main/_date.html.erb in sferik-merb-admin-0.4.0
- old
+ new
@@ -1,8 +1,8 @@
<%
name = property[:name]
value = @object.send(name)
- label = property[:pretty_name].capitalize
+ label = property[:pretty_name]
required = !property[:nullable?]
%>
<div>
<%= text_field(name, :class => "vDateField", :value => value.respond_to?(:strftime) ? value.strftime("%Y-%m-%d") : nil, :label => label) %>
<p class="help">