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.0.rc3 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.12.0.rc2 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt
padrino-admin-0.12.0.rc1 lib/padrino-admin/generators/templates/haml/page/edit.haml.tt