Sha256: 4f6fb0914af3d450934acab5f4b328536fa38e74e02c6d4372df16540e739437
Contents?: true
Size: 619 Bytes
Versions: 4
Compression:
Stored size: 619 Bytes
Contents
- content_for :header_left do = "Edit #{label_resource_class}: '#{label_resource}'" = link_to_show @resource if resource_admin_config.default_member_actions.include?(:show) - content_for :header_right do = link_to_back 'Back', admin_resource_path = error_messages_for @resource %div{id: resource_class_underscore} = semantic_form_for([:admin, @resource], url: admin_resource_path(@resource.id), as: resource_class_underscore, method: :put, html: { method: :put } ) do |f| %div{id: "#{resource_class_underscore}-edit"} = render :partial => 'form', :locals => { :f => f } = submit_tag "Update"
Version data entries
4 entries across 4 versions & 1 rubygems