diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-07 23:28:02 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-07 23:28:02 +0300 |
commit | c52f9e1a32e76ae7ea48a939baf162e20de67a82 (patch) | |
tree | 1129171f0ed4986acd3ae6f97716e5578586b6c8 /app/views/snippets/_form.html.haml | |
parent | a3b0dc2e17de0ec5ea5327ac6b84659aeb84d252 (diff) | |
download | gitlab-ce-c52f9e1a32e76ae7ea48a939baf162e20de67a82.tar.gz |
use control-group classes for inline forms in project new/edit pages
Diffstat (limited to 'app/views/snippets/_form.html.haml')
-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 e5c63afe980..fa0d5157a2e 100644 --- a/app/views/snippets/_form.html.haml +++ b/app/views/snippets/_form.html.haml @@ -9,16 +9,16 @@ - @snippet.errors.full_messages.each do |msg| %li= msg - .clearfix + .control-group = f.label :title - .input= f.text_field :title, placeholder: "Example Snippet", class: 'input-xlarge', required: true - .clearfix + .controls= f.text_field :title, placeholder: "Example Snippet", class: 'input-xlarge', required: true + .control-group = f.label "Private?" - .input= f.check_box :private, {class: ''} - .clearfix + .controls= f.check_box :private, {class: ''} + .control-group .file-editor = f.label :file_name, "File" - .input + .controls .file-holder.snippet .file-title = f.text_field :file_name, placeholder: "example.rb", class: 'snippet-file-name', required: true |