diff options
author | Nihad Abbasov <narkoz.2008@gmail.com> | 2011-10-27 12:11:42 +0500 |
---|---|---|
committer | Nihad Abbasov <narkoz.2008@gmail.com> | 2011-10-27 12:11:42 +0500 |
commit | 5e584ee6264962cc60d9074c33141a28b4100607 (patch) | |
tree | a9eec02955b388e685ead3c46f1e586e37173cae /app/views/snippets | |
parent | de4e859928d22a44549ebb719bbfd669f630f1b1 (diff) | |
download | gitlab-ce-5e584ee6264962cc60d9074c33141a28b4100607.tar.gz |
refactor lifetime_select helper
Diffstat (limited to 'app/views/snippets')
-rw-r--r-- | app/views/snippets/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/snippets/_form.html.haml b/app/views/snippets/_form.html.haml index 2c9680c028d..5cd0f74a0be 100644 --- a/app/views/snippets/_form.html.haml +++ b/app/views/snippets/_form.html.haml @@ -14,7 +14,7 @@ %td= f.text_field :file_name, :placeholder => "example.rb" %tr %td= f.label "Lifetime" - %td= f.select :expires_at, snippet_lifetime_select_options + %td= f.select :expires_at, lifetime_select_options %tr %td{:colspan => 2} = f.label :content, "Code" |