Sha256: bc7c744bdb0e89a0f521c0585b019cf68b7e185eba10d01a1de2992bbe37ee10

Contents?: true

Size: 965 Bytes

Versions: 8

Compression:

Stored size: 965 Bytes

Contents

<% @title = "Edit #{resource.human}" %>
<h1><%= @title %></h1>
<%= form_for record, :url => resource.member_path, :html => {:multipart => true} do |f| %>
  <%= render :partial => 'terbium/form', :locals => { :f => f, :action => 'edit' } %>
<% end %>


<% if false %>
<% content_for :additional_navigation do %>
  <ul class="buttons">
    <% 0.upto(resource_ancestors_records.length - 1) do |i| %>
      <li><%= link_to resource_ancestors[i].to_s.pluralize.humanize, polymorphic_path([route_prefix] + resource_ancestors_records[0..i-3] + [resource_ancestors[i].to_s.pluralize]) %></li>
      <li><%= link_to resource_ancestors_records[i].to_title, polymorphic_path([route_prefix] + resource_ancestors_records[0..i]) %></li>
    <% end %>
    <% if plural? %>
      <li><%= link_to controller.model_name.pluralize.humanize, resources_path %></li>
    <% else %>
      <li><%= link_to resource.humanize, resource_path %></li>
    <% end %>
  </ul>
<% end %>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
puffer-0.0.15 app/views/puffer/edit.html.erb
puffer-0.0.14 app/views/puffer/edit.html.erb
puffer-0.0.13 app/views/puffer/edit.html.erb
puffer-0.0.12 app/views/puffer/edit.html.erb
puffer-0.0.11 app/views/puffer/edit.html.erb
puffer-0.0.10 app/views/puffer/edit.html.erb
puffer-0.0.9 app/views/puffer/edit.html.erb
puffer-0.0.8 app/views/puffer/edit.html.erb