generator.yml:

      edit:
         title: Изменить отель <<%%hotel_name_ru%%>>
         fields:
           hotel_image:
             type:  admin_input_file_tag
             label: Фотография отеля
             help:  Выберите изображение
             upload_dir: image/hotel
             params: include_link=image/hotel include_text="Показать"
include_remove=true
         actions:
            _delete:       ~
            _list:         ~
            _save:         ~
            _save_and_add: ~
         display:
            "Русский":            [hotel_name_ru, hotel_desc_ru]
            "Английский":         [hotel_name_en, hotel_desc_en]
            "Казахский":          [hotel_name_kz, hotel_desc_kz]
            "Местоположение и контакты":     [hotel_country_id,
hotel_city_id, hotel_area_id, hotel_orient, hotel_contact,
hotel_stars]
            "Дополнительно":      [hotel_user_id, hotel_image]



but the field hotel_image becomes text-box instead of file-upload box
Sad What's wrong?

p.s. symfony 1.2 beta, propel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to