Sha256: 71235e0480f91b77d4d6995b37243588367832a4f4ea5f48cf5aa4b639bf4c31

Contents?: true

Size: 992 Bytes

Versions: 8

Compression:

Stored size: 992 Bytes

Contents

<div class="standard-form">
<%= simple_form_for structure, html: { class: 'form-body' } do |f| %>
  <%= f.error_notification %>
  <%= render 'layouts/binda/form_errors', f: f %>
  <div class="standard-form--body">
    <div class="standard-form--container">
      <div class="standard-form--header">
        <small><%= "#{ t :details }".capitalize %></small>
      </div>
      <div class="standard-form--fields">
        <%= f.input :name, hint: t(:title_hint)  %>
        <% if structure.slug.nil? %>
          <%= f.input :slug, as: :hidden %>
        <% else %>
          <%= f.input :slug %>
        <% end %>
      </div>
    </div>
    <div class="standard-form--container">
      <div class="form-section">
        <%= render "form_section", section: structure, f: f %>
      </div>
    </div>
  </div>
  <div class="standard-form--sidebar">
    <div class="standard-form--container">
        <%= render "form_sidebar", section: structure, f: f %>
    </div>
  </div>
<% end %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
binda-0.1.11 app/views/binda/structures/_form_body.html.erb
binda-0.1.10 app/views/binda/structures/_form_body.html.erb
binda-0.1.9 app/views/binda/structures/_form_body.html.erb
binda-0.1.8 app/views/binda/structures/_form_body.html.erb
binda-0.1.7 app/views/binda/structures/_form_body.html.erb
binda-0.1.6 app/views/binda/structures/_form_body.html.erb
binda-0.1.5 app/views/binda/structures/_form_body.html.erb
binda-0.1.4 app/views/binda/structures/_form_body.html.erb