rendered paste bodygenerator:
class: sfPropelAdminGenerator
param:
model_class: Rental
theme: default
list:
title: List of rentals available
display: [ =name_i18n_en, city ]
fields:
name_i18n_en:
name: name of the rental
edit:
title: "Rental Properties"
display:
"Editing a Rental":
- name_i18n_ru
- name_i18n_es
- name_i18n_en
- preview_i18n_ru
- preview_i18n_es
- preview_i18n_en
- description_i18n_ru
- description_i18n_es
- description_i18n_en
- rating
- bedroom
- kitchen
- satelite
- clean_service
- high_security
- internet
- dish_washer
- washing_machine
- dryer
- stereo
- vaccum
- oven
- microwave
- ac
- telephone
- no_pets
- no_smoking
- bath
- refrigerator
- toaster
- kettle
- lift
- price
- available_from
- available_to
- city_id
fields:
name_i18n_en:
name: Name in English
params: disabled=false
name_i18n_es:
name: Name in Spanish
params: disabled=false
name_i18n_ru:
name: Name in Russian
params: disabled=false
preview_i18n_en: { params: disabled=false rich=true tinymce_options=height:"150" }
preview_i18n_es:
name: Preview in spanish
params: disabled=false rich=true tinymce_options=height:150
preview_i18n_ru:
name: Preview in russian
params: disabled=false rich=true tinymce_options=height:150
description_i18n_en:
name: Full description in english
params: disabled=false rich=true tinymce_options=height:150
description_i18n_es:
name: Full description in spanish
params: disabled=false rich=true tinymce_options=height:150
description_i18n_ru:
name: Full description in russian
params: disabled=false rich=true tinymce_options=height:150
city_id:
params : include_custom=Choose the city where this rental belongs