Sha256: bdd5e4292f19ea18e08c22c7ea7f8bb9544bec1ad9e5eac79dbf446454da3a74

Contents?: true

Size: 480 Bytes

Versions: 36

Compression:

Stored size: 480 Bytes

Contents

<%
  property_name = property[:name]
  value = @object.send(property_name)
  label = property[:pretty_name]
  required = !property[:nullable?]
%>
                <div>
                  <%= text_field(property_name, :class => "vTimeField", :value => value.respond_to?(:strftime) ? value.strftime("%H:%M:%S") : nil, :label => label) %>
                  <p class="help">
                    <%= required ? "Required." : "Optional." %>
                  </p>
                </div>

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
merb-admin-0.8.8 app/views/main/_time.html.erb
merb-admin-0.8.7 app/views/main/_time.html.erb
merb-admin-0.8.6 app/views/main/_time.html.erb
merb-admin-0.8.1 app/views/main/_time.html.erb
merb-admin-0.8.0 app/views/main/_time.html.erb
merb-admin-0.7.6 app/views/main/_time.html.erb
merb-admin-0.7.5 app/views/main/_time.html.erb
merb-admin-0.7.4 app/views/main/_time.html.erb
merb-admin-0.7.3 app/views/main/_time.html.erb
merb-admin-0.7.2 app/views/main/_time.html.erb
merb-admin-0.7.1 app/views/main/_time.html.erb
merb-admin-0.7.0 app/views/main/_time.html.erb
merb-admin-0.6.9 app/views/main/_time.html.erb
merb-admin-0.6.8 app/views/main/_time.html.erb
merb-admin-0.6.7 app/views/main/_time.html.erb
merb-admin-0.6.6 app/views/main/_time.html.erb
merb-admin-0.6.5 app/views/main/_time.html.erb
merb-admin-0.6.4 app/views/main/_time.html.erb
merb-admin-0.6.3 app/views/main/_time.html.erb
merb-admin-0.6.2 app/views/main/_time.html.erb