Sha256: e0ad075d40b2542519439c43eee6b9b88fb0b4b69c6c207bce818b2fdef4e8f9
Contents?: true
Size: 738 Bytes
Versions: 14
Compression:
Stored size: 738 Bytes
Contents
- title t('.title', :type => @content_type.name.capitalize) - content_for :submenu do = render 'admin/shared/menu/contents' - content_for :buttons do = admin_button_tag t('admin.contents.index.edit'), edit_admin_content_type_url(@content_type), :class => 'edit' = admin_button_tag t('admin.contents.index.new'), new_admin_content_url(@content_type.slug), :class => 'new' %p= @content_type.description = semantic_form_for @content, :as => :content, :url => admin_content_url(@content_type.slug, @content), :html => { :multipart => true, :class => 'save-with-shortcut' } do |form| = render 'form', :f => form = render 'admin/shared/form_actions', :back_url => admin_contents_url(@content_type.slug), :button_label => :update
Version data entries
14 entries across 14 versions & 1 rubygems