Sha256: 16c57267ffd0ccd4b9e5a94c6fc81546a970488d8a7663db023d744028761b71

Contents?: true

Size: 671 Bytes

Versions: 21

Compression:

Stored size: 671 Bytes

Contents

.block
  .secondary-navigation
    %ul.wat-cf
      %li.first=link_to pat(:list), url(:<%= @orm.name_plural %>, :index)
      %li=link_to pat(:new), url(:<%= @orm.name_plural %>, :new)
      %li.active=link_to pat(:edit), url(:<%= @orm.name_plural %>, :edit, :id => @<%= @orm.name_singular %>.id)
  .content
    %h2.title
      =pat(:edit)
      =mt(:<%= @orm.name_singular %>)
    .inner
      -form_for :<%= @orm.name_singular %>, url(:<%= @orm.name_plural %>, :update, :id => @<%= @orm.name_singular %>.id), :method => :put, :class => :form do |f|
        =partial "<%= @orm.name_plural %>/form", :locals => { :f => f }

-content_for :sidebar, partial("base/sidebar")

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
padrino-admin-0.10.2 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt