Sha256: 7568e53178b4d0a3ca289fce5a9bb120276186b3d69750d3fa37486df4a3d048
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
.city-info - url ||= manager_cities_path = form_for @city, :url => url do |f| .field %label= t('cities.name') = f.text_field :name .field = image_flag 'en' %label= t('cities.name_en') = f.text_field :name_en .field = image_flag 'ru' %label= t('cities.name') = f.text_field :name_ru .field = image_flag 'pt' %label= t('cities.name') = f.text_field :name_pt .field %label CityName = f.text_field :cityname .field %label Feature? = f.check_box :is_feature .field %label Calendar = f.text_area :calendar_frame .row %label coords = f.text_field :x = f.text_field :y .actions = f.submit -# Only if editing - unless @city.updated_at.blank? .change-profile-pic %h2 Change profile pic - begin = image_tag @city.profile_photo.photo.url(:thumb) - rescue = form_for @photo, :url => change_profile_pic_manager_city_path do |f| = f.file_field :photo = f.submit
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ish_lib_manager-0.0.1 | app/views/ish_lib_manager/cities/_form.haml |