app/helpers/carload/dashboard_helper.rb in carload-0.1.0 vs app/helpers/carload/dashboard_helper.rb in carload-0.2.0

- old
+ new

@@ -11,9 +11,11 @@ class: 'use-select2', data: { placeholder: t('carload.placeholder.select', thing: t("activerecord.attributes.#{associated_model}.#{label_attribute}")) } } + elsif needs_upload?(model_name, attribute_name) and image?(attribute_name) + upload_image form: form, image_name: attribute_name, width: 150, height: 150 else form.input attribute_name end end