Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorngentile <ngentile@arbor.net>2015-07-22 16:58:17 +0300
committerngentile <ngentile@arbor.net>2015-07-22 16:58:17 +0300
commitdbff6bc106c679edbd135a69ba74532fabe1e996 (patch)
treea3c0c56f937b72d6b238d7557de44edaaf70bb69 /lib/unfold_form.rb
parent39dc39e33529ac3632e5d5a6fa06bf6908fb4fa4 (diff)
Gitlab Issue 707: Indent unfolded code 1 character
Diffstat (limited to 'lib/unfold_form.rb')
-rw-r--r--lib/unfold_form.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/unfold_form.rb b/lib/unfold_form.rb
index 46b12beeaaf..fcd01503d1b 100644
--- a/lib/unfold_form.rb
+++ b/lib/unfold_form.rb
@@ -8,4 +8,5 @@ class UnfoldForm
attribute :bottom, Boolean
attribute :unfold, Boolean, default: true
attribute :offset, Integer
+ attribute :indent, Integer, default: 0
end