Sha256: a36c9600f598b3e495b99165da3c264f39881b08959fa678c0b911d63fc279c3
Contents?: true
Size: 1.35 KB
Versions: 25
Compression:
Stored size: 1.35 KB
Contents
<%= content_tag(:div, id: active_scaffold_id, class: as_main_div_class, data: as_main_div_data) do %> <div class="active-scaffold-header"> <%= render :partial => 'list_header' %> </div> <table> <tbody class="before-header" id="<%= before_header_id -%>"> <% if active_scaffold_config.list.always_show_search %> <% old_record, @record = @record, new_model %> <tr> <td> <div class="active-scaffold show_search-view <%= "#{id_from_controller params[:controller]}-view" %> view"> <%= render :partial => active_scaffold_config.list.search_partial, :locals => {:xhr => true} %> </div> </td> </tr> <% @record = old_record %> <% else %> <tr><td></td></tr> <% end %> <% if active_scaffold_config.list.always_show_create && controller.send(:create_authorized?) %> <% old_record, @record = @record, new_model %> <tr> <td> <div class="active-scaffold create-view <%= "#{id_from_controller params[:controller]}-view" %> view"> <%= render :partial => 'create_form_on_list' %> </div> </td> </tr> <% @record = old_record %> <% end %> </tbody> </table> <div id="<%= active_scaffold_content_id-%>" class="as_content"> <%= render :partial => 'list' %> </div> <% end %>
Version data entries
25 entries across 25 versions & 1 rubygems