Sha256: 77b8130705efc03b030657821dade20c27c273e440b42373dab7ad2e73bbdc9c
Contents?: true
Size: 958 Bytes
Versions: 2
Compression:
Stored size: 958 Bytes
Contents
<% @title = "Edit #{resource.human}" %> <h1><%= @title %></h1> <%= form_for record, :url => resource.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
puffer-0.0.7 | app/views/puffer/edit.html.erb |
puffer-0.0.6 | app/views/puffer/edit.html.erb |