Browse Source

larger showcase, tiny cleanup

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
02fccc75d8
  1. 2
      app/views/as/_list_record.html.erb
  2. 4
      app/views/pages/home.html.erb

2
app/views/as/_list_record.html.erb

@ -4,7 +4,7 @@
record = list_record if list_record # compat with render :partial :collection record = list_record if list_record # compat with render :partial :collection
columns ||= list_columns columns ||= list_columns
tr_class = cycle("", "even-record") tr_class = cycle("", "even-record")
tr_class += " #{list_row_class(record)}" if respond_to? :list_row_class tr_class += " #{list_row_class(record)}"
url_options = params_for(:action => :list, :id => record.id) url_options = params_for(:action => :list, :id => record.id)
action_links ||= active_scaffold_config.action_links.member action_links ||= active_scaffold_config.action_links.member
-%> -%>

4
app/views/pages/home.html.erb

@ -24,11 +24,11 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="span6"> <div class="span5">
<%= render 'pages/home/headlines' %> <%= render 'pages/home/headlines' %>
<%= render 'pages/shared/action' %> <%= render 'pages/shared/action' %>
</div> </div>
<div class="span6"> <div class="span7">
<%= render 'pages/home/slides' %> <%= render 'pages/home/slides' %>
</div> </div>

Loading…
Cancel
Save