Sha256: a1888a6983994805467bb586052010f108b8d48b7a6d0b7e77520ca3e3732151

Contents?: true

Size: 520 Bytes

Versions: 24

Compression:

Stored size: 520 Bytes

Contents

.well
  = link_to "#{t('admix.crud.new.link')} " + t("#{@collection_name}.#{@collection_name.singularize}"), new_resource_url, class: 'btn'
  = link_to t('admix.crud.list.title', resources: t("#{@collection_name}.#{@collection_name}")), collection_url, class: 'btn'
  - if not ['index', 'edit'].include? params[:action]
    - if not resource.nil? and not resource.new_record?
      = link_edit(resource, t('admix.crud.edit.link'), 'btn-primary')
      = link_destroy(resource, t('admix.crud.destroy.link'), 'btn-danger')

Version data entries

24 entries across 12 versions & 2 rubygems

Version Path
mix-rails-0.26.1 admix/app/views/admix/rest/_actions.haml
mix-rails-0.26.1 admix/app/views/admix/inherited/_actions.haml
admix-0.26.1 app/views/admix/inherited/_actions.haml
admix-0.26.1 app/views/admix/rest/_actions.haml
mix-rails-0.26.0 admix/app/views/admix/inherited/_actions.haml
mix-rails-0.26.0 admix/app/views/admix/rest/_actions.haml
admix-0.26.0 app/views/admix/rest/_actions.haml
admix-0.26.0 app/views/admix/inherited/_actions.haml
mix-rails-0.25.1 admix/app/views/admix/rest/_actions.haml
mix-rails-0.25.1 admix/app/views/admix/inherited/_actions.haml
admix-0.25.1 app/views/admix/rest/_actions.haml
admix-0.25.1 app/views/admix/inherited/_actions.haml
mix-rails-0.25.0 admix/app/views/admix/inherited/_actions.haml
mix-rails-0.25.0 admix/app/views/admix/rest/_actions.haml
admix-0.25.0 app/views/admix/inherited/_actions.haml
admix-0.25.0 app/views/admix/rest/_actions.haml
mix-rails-0.24.1 admix/app/views/admix/inherited/_actions.haml
mix-rails-0.24.1 admix/app/views/admix/rest/_actions.haml
admix-0.24.1 app/views/admix/rest/_actions.haml
admix-0.24.1 app/views/admix/inherited/_actions.haml