Sha256: 58e8e7394bbb7126367c233a681d21792551f3066c7fac56641611ca63517ffe

Contents?: true

Size: 433 Bytes

Versions: 6

Compression:

Stored size: 433 Bytes

Contents

<%
  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>

Version data entries

6 entries across 2 versions & 1 rubygems

Version Path
merb-admin-0.8.5 app/views/main/_big_decimal.html.erb
merb-admin-0.8.5 app/views/main/_float.html.erb
merb-admin-0.8.5 app/views/main/_integer.html.erb
merb-admin-0.8.3 app/views/main/_float.html.erb
merb-admin-0.8.3 app/views/main/_integer.html.erb
merb-admin-0.8.3 app/views/main/_big_decimal.html.erb