Sha256: b14b4eb6faf0fb509f05131a08a4d478b89dbe54776e09fa80f005b2efce29c1
Contents?: true
Size: 1 KB
Versions: 10
Compression:
Stored size: 1 KB
Contents
<% column_count = if nested? and action_name == 'index' active_scaffold_config_for(nested.parent_model).list.columns.count + 1 else active_scaffold_config.list.columns.count + 1 end %> <%# nested_id, allows us to remove a nested scaffold programmatically %> <tr class="inline-adapter" id="<%= element_row_id :action => :nested %>"> <td colspan="<%= column_count %>" class="inline-adapter-cell"> <div class="<%= "#{params[:action]}-view" if params[:action] %> <%= "#{nested? ? nested.name : id_from_controller(params[:controller])}-view" %> view"> <%= link_to(as_(:close), '', :class => 'inline-adapter-close as_cancel', :remote => true, :title => as_(:close), 'data-refresh' => (action_name == 'index' ? true : false)) -%> <%= payload -%> </div> </td> </tr> <%= javascript_tag("var action_link = ActiveScaffold.ActionLink.get('#{element_row_id(:action => :nested)}'); if (action_link) action_link.update_flash_messages('#{escape_javascript(render(:partial => 'messages').strip)}');") %>
Version data entries
10 entries across 10 versions & 1 rubygems