diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-31 01:27:02 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-31 01:27:02 +0200 |
commit | 16eb3ac360df60469cc9b1a93870c0273c7fe78f (patch) | |
tree | 9aff8fff986e9868b1500001d00968f469f73067 /app/views/snippets | |
parent | 2ecf83191d4ae7a158d70f8cfa11ec9f2744b0ce (diff) | |
download | gitlab-ce-16eb3ac360df60469cc9b1a93870c0273c7fe78f.tar.gz |
Update form classes
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/snippets')
-rw-r--r-- | app/views/snippets/_form.html.haml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/snippets/_form.html.haml b/app/views/snippets/_form.html.haml index 0541ed4d633..2ec22291d45 100644 --- a/app/views/snippets/_form.html.haml +++ b/app/views/snippets/_form.html.haml @@ -9,12 +9,12 @@ - @snippet.errors.full_messages.each do |msg| %li= msg - .control-group + .form-group = f.label :title - .controls= f.text_field :title, placeholder: "Example Snippet", class: 'input-xlarge', required: true - .control-group + .col-sm-10= f.text_field :title, placeholder: "Example Snippet", class: 'input-xlarge', required: true + .form-group = f.label "Access" - .controls + .col-sm-10 = f.label :private_true, class: 'radio-label' do = f.radio_button :private, true %span @@ -27,10 +27,10 @@ %strong Public (GitLab users can see this snippet) - .control-group + .form-group .file-editor = f.label :file_name, "File" - .controls + .col-sm-10 .file-holder.snippet .file-title = f.text_field :file_name, placeholder: "example.rb", class: 'snippet-file-name', required: true |