Sha256: 852c0a010bc692e4e9d6062e29b9c901cc47840af1f4061f1674559c5c1d8538

Contents?: true

Size: 555 Bytes

Versions: 43

Compression:

Stored size: 555 Bytes

Contents

%ul.nav.nav-tabs
  %li=link_to tag_icon(:list, pat(:list)), url(:<%= @orm.name_plural %>, :index)
  %li=link_to tag_icon(:plus, pat(:new)), url(:<%= @orm.name_plural %>, :new)
  %li.active=link_to tag_icon(:edit, pat(:edit)), url(:<%= @orm.name_plural %>, :edit, :id => @<%= @orm.name_singular %>.id)

.tabs-content
  = form_for :<%= @orm.name_singular %>, url(:<%= @orm.name_plural %>, :update, :id => @<%= @orm.name_singular %>.id), :method => :put, :class => 'form-horizontal' do |f|
    =partial '<%= @orm.name_plural %>/form', :locals => { :f => f }

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
padrino-admin-0.12.8.1 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.13.3.1 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.13.3 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.12.8 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.12.7 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.12.6 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.13.2 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.13.1 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.13.1.beta1 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.13.0 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.13.0.beta3 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
tennpipes-su-3.6.6 lib/tennpipes-su/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.13.0.beta2 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.12.5 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.13.0.beta1 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.12.4 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.12.3 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.12.2 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.12.1 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.12.0 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt