Sha256: 3c970833c1ab82d2757d1197665eaebbbb99cebfcddb81c712338580e4a6bcce

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 Bytes

Contents

<%
  name = property[:name]
  value = @object.send(name)
  label = property[:pretty_name]
  required = !property[:nullable?]
%>
                <div>
                  <%= text_field(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

5 entries across 5 versions & 2 rubygems

Version Path
sferik-merb-admin-0.4.0 app/views/main/_time.html.erb
sferik-merb-admin-0.4.1 app/views/main/_time.html.erb
sferik-merb-admin-0.4.2 app/views/main/_time.html.erb
sferik-merb-admin-0.4.3 app/views/main/_time.html.erb
merb-admin-0.4.3 app/views/main/_time.html.erb