Sha256: 989ce4c5ce520cd6a87e42ce56a6290a4290a2edabff458f824cce0d6eef5b17

Contents?: true

Size: 314 Bytes

Versions: 5

Compression:

Stored size: 314 Bytes

Contents

<%= simple_form_for(@post) do |f| %>
  <%= f.error_notification %>

  <div class="form-inputs">
    <%= f.input :title %>
    <%= f.input :content %>
    <%= f.input :active, as: :switch, label: false, inline_label: 'Active' %>
  </div>

  <div class="form-actions">
    <%= f.button :submit %>
  </div>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_form_custom_inputs-0.1.0 example/app/views/posts/_form.html.erb
simple_form_custom_inputs-0.0.4 example/app/views/posts/_form.html.erb
simple_form_custom_inputs-0.0.3 example/app/views/posts/_form.html.erb
simple_form_custom_inputs-0.0.2 example/app/views/posts/_form.html.erb
simple_form_custom_inputs-0.0.1 example/app/views/posts/_form.html.erb