app/views/ems/globals/_asset.html.haml in ems-0.1.1 vs app/views/ems/globals/_asset.html.haml in ems-0.1.2
- old
+ new
@@ -16,11 +16,13 @@
.asset-url= builder.object.asset.url
- else
%span.asset-blank
- @assetField = builder.file_field :asset
+ - @errorField = builder.error :asset
/ - @titleField = builder.input_field :title, :placeholder => "Enter image title"
%li
= form.label "Add new asset"
.input-push.asset-add
= @assetField
- / = @titleField
+ / = @titleField
+ = @errorField
\ No newline at end of file