Sha256: 8c04361a706533d7af57055f882bf7cca1da591f490696f00948ec57e7792fea

Contents?: true

Size: 290 Bytes

Versions: 8

Compression:

Stored size: 290 Bytes

Contents

<%% label ||= nil %>

<div class="clearfix">
  <%%= optional_label(f, what, label) %>
  <div class="input">
    <%%= f.text_field what, :class => 'span6' %>
    <%%= content_tag(:span, help, :class => 'help-block') if help_text_present?(local_variables) %>
  </div>
</div><!-- /clearfix -->

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
flexible_admin-0.1.3 lib/generators/flexible_admin/templates/forms/text_field.html.erb
flexible_admin-0.1.2 lib/generators/flexible_admin/templates/forms/text_field.html.erb
flexible_admin-0.1.1 lib/generators/flexible_admin/templates/forms/text_field.html.erb
flexible_admin-0.1.0 lib/generators/flexible_admin/templates/forms/text_field.html.erb
flexible_admin-0.0.4 lib/generators/flexible_admin/templates/forms/text_field.html.erb
flexible_admin-0.0.3 lib/generators/flexible_admin/templates/forms/text_field.html.erb
flexible_admin-0.0.2 lib/generators/flexible_admin/templates/forms/text_field.html.erb
flexible_admin-0.0.1 lib/generators/flexible_admin/templates/forms/text_field.html.erb