Sha256: 4a519f1cd340c9778e8593234d8ad861192d4f483a2c277d3672344a4f28bcaa

Contents?: true

Size: 1.13 KB

Versions: 5

Compression:

Stored size: 1.13 KB

Contents

<div id="main">
  <%= admin_data_breadcrum do %>
    <%= link_to @klass, admin_data_search_path(:klass => @klass.name.underscore) %> 
    >
    <%= link_to "ID #{@model.id}", ''%>  
  <% end %>

  <h2 class="title">
    Editing <%=@model.class.name%> id <%=@model.id%>
  </h2>        

  <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

5 entries across 5 versions & 1 rubygems

Version Path
admin_data-1.0.16 app/views/admin_data/main/edit.html.erb
admin_data-1.0.15 app/views/admin_data/main/edit.html.erb
admin_data-1.0.14 app/views/admin_data/main/edit.html.erb
admin_data-1.0.13 app/views/admin_data/main/edit.html.erb
admin_data-1.0.12 app/views/admin_data/main/edit.html.erb