Sha256: 66eb0d4ed917a766cc8f2d32b43f391dfc81f0db0b77d01e4267dca45827d588

Contents?: true

Size: 191 Bytes

Versions: 16

Compression:

Stored size: 191 Bytes

Contents

<% wrapper = Formstrap::WrapperView.new(local_assigns) %>
<% if wrapper.bypass %>
  <%= yield %>
<% else %>
  <div <%= tag.attributes(wrapper.options) %>>
    <%= yield %>
  </div>
<% end %>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
formstrap-0.4.5 app/views/formstrap/_wrapper.html.erb
formstrap-0.4.4 app/views/formstrap/_wrapper.html.erb
formstrap-0.4.3 app/views/formstrap/_wrapper.html.erb
formstrap-0.4.2 app/views/formstrap/_wrapper.html.erb
formstrap-0.3.5 app/views/formstrap/_wrapper.html.erb
formstrap-0.3.4 app/views/formstrap/_wrapper.html.erb
formstrap-0.3.3 app/views/formstrap/_wrapper.html.erb
formstrap-0.3.2 app/views/formstrap/_wrapper.html.erb
formstrap-0.3.1 app/views/formstrap/_wrapper.html.erb
formstrap-0.3.0 app/views/formstrap/_wrapper.html.erb
formstrap-0.2.1 app/views/formstrap/_wrapper.html.erb
formstrap-0.2.0 app/views/formstrap/_wrapper.html.erb
formstrap-0.1.3 app/views/formstrap/_wrapper.html.erb
formstrap-0.1.2 app/views/formstrap/_wrapper.html.erb
formstrap-0.1.1 app/views/formstrap/_wrapper.html.erb
formstrap-0.1.0 app/views/formstrap/_wrapper.html.erb