generator: admingenerator.generator.doctrine
params:
  model: Muzich\CoreBundle\Entity\ElementTagsProposition
  namespace_prefix: Muzich
  bundle_name: AdminBundle
  fields:
    element:
      formType: shtumi_ajax_autocomplete
      formOptions:
        entity_alias: elements
    user:
      formType: shtumi_ajax_autocomplete
      formOptions:
        entity_alias: users

builders:
  list:
    params:
      title: List for elements tags propositions
      display: [ id, element, user, tags ]
      object_actions:
        show: ~
        edit: ~
        delete: ~
  filters:
    params:
      display: [ element, user ]
  new:
    params:
      title: New object for AdminBundle
      display: [ element, user, tags ]
      actions:
        save: ~
        list: ~
  edit:
    params:
      title: "You're editing tags propotions for \"%object%\"|{ %object%: ElementTagsProposition.element.name }|"
      display: [ element, user, tags ]
      actions:
        save: ~
        list: ~
  show:
    params:
      title: "You're editing tags propotions \"%object%\"|{ %object%: ElementTagsProposition.element.name }|"
      display: [ element, user, tags ]
      actions:
        list: ~
        new: ~
  delete: ~
