Sha256: 803779b764fb9624fc2088de683bc541e6b69cd8f09e60facbbb0e2fed36a2d9

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

<div id="main">
  <div>
    <h1 class='search_path'>
      <%= link_to @klass, 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

1 entries across 1 versions & 1 rubygems

Version Path
the_jobbook_admin_data-1.3.0a app/views/admin_data/crud/edit.html.erb