Sha256: 1c53ec2bdc78974c1dac6874653f4ed3c0d6587c788baafe300dac6d121f8980
Contents?: true
Size: 831 Bytes
Versions: 2
Compression:
Stored size: 831 Bytes
Contents
<Page> <SitePath> <a href="/">#{Server.map['/'].ann.index[:title] || 'Home'}</a> / <a href="#{AdminController.mount_point}">Admin</a> / <a href="#{OgAdminController.mount_point}">Og</a> / <a href="#{R OgAdminController, :list, :name, @obj.class}">#{@obj.class.name.gsub(/::/, ' ').plural}</a> / <?r if action_name == 'update' ?> Update '#@obj' <?r else ?> Create new #{@obj.class.name.gsub(/::/, ' ')} <?r end ?> </SitePath> #{form :object => @obj, :action => "#{R :save}", :method => :post, :enctype => "multipart/form-data" do |f| f.form_errors f.hidden :object_class_name, class_to_name(@obj.class) f.attributes f.relations f.br f.submit 'Save' f.text ' or <a href="' + R(:list, :name, class_to_name(@obj.class)) + '">Cancel</a>' end} </Page>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.41.0 | lib/part/admin/og/template/update.xhtml |
nitro-0.40.0 | lib/part/admin/og/template/update.xhtml |