Sha256: ebc3952c976efb7512777153c6e07e1739f757e85fc07295ec6908abac113aa8

Contents?: true

Size: 454 Bytes

Versions: 4

Compression:

Stored size: 454 Bytes

Contents

<div class="card card-primary my-3">
  <div class="card-header fw-bold">
    Inline layout
  </div>
  <div class="card-body">
    <%= bootstrap_form_for @user, bootstrap_form: {layout: :inline} do |form| %>
      <%= form.text_field :username, autocomplete: "new-username" %>
      <%= form.password_field :password, autocomplete: "new-password" %>
      <%= form.check_box :remember_me %>
      <%= form.primary "Login" %>
    <% end %>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_bootstrap_form-0.8.3 demo/app/views/users/_inline_form.html.erb
rails_bootstrap_form-0.8.2 demo/app/views/users/_inline_form.html.erb
rails_bootstrap_form-0.8.1 demo/app/views/users/_inline_form.html.erb
rails_bootstrap_form-0.8.0 demo/app/views/users/_inline_form.html.erb