Sha256: 76be983ecb8b63071c273fd7f9a1d6cdb941772797c7bfe38d0306e482846a9f

Contents?: true

Size: 764 Bytes

Versions: 9

Compression:

Stored size: 764 Bytes

Contents

<% scope ||= nil %>
<dl>
  <dt>
    <label for="<%= active_scaffold_input_options(column, scope)[:id] %>"><%= column.label %></label>
  </dt>
  <dd>
    <% unless local_assigns[:only_value] %>
    <%=raw active_scaffold_input_for column, scope %>
    <% else %>
    <%= get_column_value(@record, column) %>
    <%= hidden_field :record, column.association ? (column.association[:key] || column.association[:left_key]) : column.name, active_scaffold_input_options(column, scope) -%>
    <% end %>
    <% if column.update_columns -%>
      <%= loading_indicator_tag(:action => :render_field, :id => params[:id]) %>
    <% end -%>
    <% if column.description.present? -%>
      <span class="description"><%= column.description %></span>
    <% end -%>
  </dd>
</dl>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
active_scaffold-sequel-0.8.0 frontends/default/views/_form_attribute.html.erb
active_scaffold-sequel-0.7.1 frontends/default/views/_form_attribute.html.erb
active_scaffold-sequel-0.7.0 frontends/default/views/_form_attribute.html.erb
active_scaffold-sequel-0.6.2 frontends/default/views/_form_attribute.html.erb
active_scaffold-sequel-0.6.1 frontends/default/views/_form_attribute.html.erb
active_scaffold-sequel-0.6.0 frontends/default/views/_form_attribute.html.erb
active_scaffold-sequel-0.5.1 frontends/default/views/_form_attribute.html.erb
active_scaffold-sequel-0.5.0 frontends/default/views/_form_attribute.html.erb
active_scaffold-sequel-0.4.0 frontends/default/views/_form_attribute.html.erb