Sha256: 070f1b814d5a4fa46f6bf8644a452f83bc55f3726b5d96951fb94c2f27514134

Contents?: true

Size: 596 Bytes

Versions: 15

Compression:

Stored size: 596 Bytes

Contents

<% additional_field_label_classes ||= '' %>
<div class="field is-horizontal<%= options[:outer_class] ? " #{options[:outer_class]}" : '' %>" <%= options[:outer_id] ? 'id=' + options[:outer_id] : '' %> <%= options[:style] ? raw('style="' + options[:style] + '"') : '' %>>
  <div class="field-label <%= additional_field_label_classes %>">
    <%= bulma_form_or_object_component form_or_object, :label, *label_parameters %>
  </div>
  <div class="field-body">
    <% options.delete(:style); options.delete(:outer_id); options.delete(:outer_class) %>
    <%= yield(@form_or_object) %>
  </div>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
bulma_form_rails-1.0.6 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-1.0.5 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-1.0.4 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-1.0.3 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-1.0.2 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-1.0.1 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-1.0.0 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-0.9.9 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-0.9.8 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-0.9.7 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-0.9.6 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-0.9.5 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-0.9.4 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-0.9.3 lib/templates/app/views/bulma_form_rails/_field.html.erb
bulma_form_rails-0.9.1 lib/templates/app/views/bulma_form_rails/_field.html.erb