Sha256: 3faf238f6170c4fa7a2b499373ab0825084c39d00f16a7be402f38ea7a1dcc7e

Contents?: true

Size: 1.14 KB

Versions: 12

Compression:

Stored size: 1.14 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

12 entries across 12 versions & 1 rubygems

Version Path
admin_data-1.0.11 app/views/admin_data/main/edit.html.erb
admin_data-1.0.10 app/views/admin_data/main/edit.html.erb
admin_data-1.0.9 app/views/admin_data/main/edit.html.erb
admin_data-1.0.8 app/views/admin_data/main/edit.html.erb
admin_data-1.0.7 app/views/admin_data/main/edit.html.erb
admin_data-1.0.6 app/views/admin_data/main/edit.html.erb
admin_data-1.0.5 app/views/admin_data/main/edit.html.erb
admin_data-1.0.4 app/views/admin_data/main/edit.html.erb
admin_data-1.0.3 app/views/admin_data/main/edit.html.erb
admin_data-1.0.2 app/views/admin_data/main/edit.html.erb
admin_data-1.0.1 app/views/admin_data/main/edit.html.erb
admin_data-1.0.0 app/views/admin_data/main/edit.html.erb