Sha256: de37667039a1c3763e0d05f46d7a87873417804b5b74efb378726347c693118f

Contents?: true

Size: 1.06 KB

Versions: 5

Compression:

Stored size: 1.06 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_path(:klass => @klass.name, :id => @model.id)
           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/crud/misc/form', :klass => @klass, :f => f %>
        <% end %>
      </div>
    </div>

  </div>
</div>

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

<style type="text/css">
  #main {
    width:70%;
  }
</style>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
admin_data-1.2.1 app/views/admin_data/crud/edit.html.erb
admin_data-1.2.0 app/views/admin_data/crud/edit.html.erb
admin_data-1.1.16 app/views/admin_data/crud/edit.html.erb
admin_data-1.1.15 app/views/admin_data/crud/edit.html.erb
admin_data-1.1.14 app/views/admin_data/crud/edit.html.erb