Migration for adding summary and description to polls created. Both text_areas were added to polls form.

Imageable class included in polls model and the first aproach for adding images added to form.
This commit is contained in:
iagirre
2017-09-28 17:46:30 +02:00
parent 4e5b80f79f
commit 77d0a551cf
6 changed files with 51 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ en:
delete_button: Remove image
note: "You can upload one image of following content types: %{accepted_content_types}, up to %{max_file_size} MB."
add_new_image: Add image
title_placeholder: Add a descriptive title for the image
admin_title: "Main image of the poll"
actions:
destroy:

View File

@@ -9,6 +9,7 @@ es:
note: "Puedes subir una imagen en los formatos: %{accepted_content_types}, y de hasta %{max_file_size} MB por archivo."
add_new_image: Añadir imagen
title_placeholder: Añade un título descriptivo para la imagen
admin_title: "Imagen principal de la votación"
actions:
destroy: