Sha256: efd884d06869be68e239605d7e272f3b86fd9df94a36c66d0bf209853c137b8c

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 KB

Contents

<div id="main">
  <div>
    <h1 class='search_path'>
      <%= link_to @klass, admin_data_search_path(:klass => @klass.name) %>  
      >
      <%= link_to "ID #{@model.id}", ''%>  
    </h1>
    <div class='clear'></div>
  </div>

  <div class="block" id="block-tables">

    <div class="content rounded">          
      <div class="inner umbrella">
        <% url = admin_data_on_k_path(:klass => @klass.name, :id => @model)  
           html_options = {:class => 'form', :method => :put} %>
           <%= form_for @model, :as => @klass.name.underscore.to_sym, :url => url, :html=> html_options do |f| %>
          <%= render 'admin_data/shared/flash_message', :model => @model %>
          <%= render 'admin_data/main/misc/form', :klass => @klass, :f => f %>
        <% end %>
      </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 type="text/css">
  #main {
    width:70%;
  }
</style>  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
admin_data-1.0.21 app/views/admin_data/main/edit.html.erb
admin_data-1.0.19 app/views/admin_data/main/edit.html.erb