Sha256: 3792c182bd72ee1d0954fab72f65bc6848ee230c1ecc877185fa1b726d86c084

Contents?: true

Size: 875 Bytes

Versions: 5

Compression:

Stored size: 875 Bytes

Contents

<%= render 'backend/general_form_error', object: @field %>

<%= simple_form_for [:backend, @field], url: url do |f| %>
  <div class="row">
    <div class="col-md-6">
      <div class="card">
        <div class="card-header">
          <%= t 'b.general' %>
        </div>

        <div class="card-block">
          <%= f.input :identifier %>
          <%= f.input :field_type, collection: options_for_collection(:form_field_type, FormField::FIELD_TYPES) %>
        </div>
      </div>
    </div>

    <div class="col-md-6">
      <div class="card">
        <div class="card-header">
          <%= t 'b.validations' %>
        </div>

        <div class="card-block">
          <%= f.input :presence %>
          <%= f.input :email %>
        </div>
      </div>
    </div>
  </div>

  <%= render 'backend/form_actions', cancel_url: edit_backend_form_path(@form) %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
udongo-6.3.2 app/views/backend/forms/fields/_form.html.erb
udongo-6.3.1 app/views/backend/forms/fields/_form.html.erb
udongo-6.3.0 app/views/backend/forms/fields/_form.html.erb
udongo-6.2.1 app/views/backend/forms/fields/_form.html.erb
udongo-6.2.0 app/views/backend/forms/fields/_form.html.erb