diff --git a/app/assets/javascripts/app/views/generic/attachment.jst.eco b/app/assets/javascripts/app/views/generic/attachment.jst.eco index 827312ade..2ab26dae8 100644 --- a/app/assets/javascripts/app/views/generic/attachment.jst.eco +++ b/app/assets/javascripts/app/views/generic/attachment.jst.eco @@ -1,5 +1,6 @@
+ <% if !@attribute.disabled: %>
<% uid = _.uniqueId('fileUpload_') %> @@ -9,6 +10,7 @@
+ <% end %>
diff --git a/app/assets/javascripts/app/views/generic/checkbox.jst.eco b/app/assets/javascripts/app/views/generic/checkbox.jst.eco index 766f06c46..7e96f92d6 100644 --- a/app/assets/javascripts/app/views/generic/checkbox.jst.eco +++ b/app/assets/javascripts/app/views/generic/checkbox.jst.eco @@ -1,7 +1,7 @@
<% for row in @attribute.options: %>