Sha256: b4096fa443d34a181c8e974d4a834e20507c2a947523bfd01b47a451d5ee8121

Contents?: true

Size: 381 Bytes

Versions: 5

Compression:

Stored size: 381 Bytes

Contents

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
padrino-admin-0.11.4 lib/padrino-admin/generators/templates/haml/page/new.haml.tt
padrino-admin-0.11.3 lib/padrino-admin/generators/templates/haml/page/new.haml.tt
padrino-admin-0.11.2 lib/padrino-admin/generators/templates/haml/page/new.haml.tt
padrino-admin-0.11.1 lib/padrino-admin/generators/templates/haml/page/new.haml.tt
padrino-admin-0.11.0 lib/padrino-admin/generators/templates/haml/page/new.haml.tt