Sha256: 8c1c05a47419a98df9b97131997e0f3825dc8d2b1decf8345d37d318b173b66f
Contents?: true
Size: 820 Bytes
Versions: 9
Compression:
Stored size: 820 Bytes
Contents
<% scope ||= nil column_options = active_scaffold_input_options(column, scope) %> <dl> <dt> <label for="<%= column_options[:id] %>"><%= column.label %></label> </dt> <dd> <% unless local_assigns[:only_value] %> <%=raw active_scaffold_input_for column, scope %> <% else %> <%= content_tag :span, get_column_value(@record, column), column_options.except(:name) %> <%= hidden_field :record, column.association ? column.association.foreign_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