Sha256: da8ceedb10b7edb2da4ea7c7c9742deca36cd8949da1afccf12132d09207f8c8

Contents?: true

Size: 615 Bytes

Versions: 2

Compression:

Stored size: 615 Bytes

Contents

<% scope ||= nil %>
<dl>
  <dt>
    <label for="<%= active_scaffold_input_options(column, scope)[:id] %>"><%= column.label %></label>
  </dt>
  <dd>
    <% if batch_create_by_column.to_sym == column %>
      <%= active_scaffold_batch_create_by_column column, scope %>
    <% else %>
      <%= active_scaffold_input_for column, scope %>
      <% if column.update_columns -%>
        <%= loading_indicator_tag(:action => :render_field, :id => params[:id]) %>
      <% end -%>
    <% end %>
    <% if column.description -%>
      <span class="description"><%= column.description %></span>
    <% end -%>
  </dd>
</dl>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_scaffold_batch-3.2.1 app/views/active_scaffold_overrides/_batch_create_form_attribute.html.erb
active_scaffold_batch-3.2.0 app/views/active_scaffold_overrides/_batch_create_form_attribute.html.erb