Sha256: b021617eea189035117abb05d2aa89adee688de6a8af9254699c61eef958ec4d

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

<div id="main">

  <div>
    <h1 style='float:left;font-weight:bold;font-size: 35px;'>
      <%= link_to @klass, admin_data_search_path(:klass => @klass.name) %>  
      >
      <%= link_to "ID #{@model.id}", ''%>  
    </h1>
    <div class='clear'></div>
  </div>

  <%= render 'admin_data/shared/flash_message', :model => @model %>
  
  <div class="block" id="block-tables">
    <div class="content rounded">          
      <div class="inner">
        <table class="table with_border" cellspacing="3" cellpadding="3">
          <% AdminData::Util.label_values_pair_for(@model, self).each do |pair| %>
            <tr>
              <td><%=pair[0]%></td>
              <td class='smaller'><%=pair[1]%></td>
            </tr>   
          <% end %>   
        </table>
      </div>
    </div>
  </div>
</div>

<div id="sidebar">
  <%= render 'admin_data/main/association/association_info', :klass => @klass, :model => @model %>
  <%= render 'admin_data/main/misc/modify_record', :model => @model, :klass => @klass %>
</div> 

<style>
  #main {
    width:70%;
  }
  table.with_border td.smaller {
    font-size: 120%;
  }
</style>  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
admin_data-1.0.18 app/views/admin_data/main/show.html.erb
admin_data-1.0.17 app/views/admin_data/main/show.html.erb