Commit 5c1a360f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Imrpove new file form

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 9c7d821c
...@@ -34,15 +34,4 @@ ...@@ -34,15 +34,4 @@
margin: 5px 8px 0 8px; margin: 5px 8px 0 8px;
} }
} }
.commit_message-group {
margin-top: 20px;
label {
font-size: 16px;
line-height: 20px;
}
textarea {
@extend .col-md-8;
}
}
} }
...@@ -6,13 +6,13 @@ ...@@ -6,13 +6,13 @@
= label_tag 'file_name', class: "control-label" do = label_tag 'file_name', class: "control-label" do
File name File name
.col-sm-10 .col-sm-10
%span.monospace= @path[-1] == "/" ? @path : @path + "/" .input-group
&nbsp; %span.input-group-addon
= text_field_tag 'file_name', params[:file_name], placeholder: "sample.rb", required: true, class: 'form-control' = @path[-1] == "/" ? @path : @path + "/"
%span = text_field_tag 'file_name', params[:file_name], placeholder: "sample.rb", required: true, class: 'form-control'
&nbsp; %span.input-group-addon
on on
%span.label-branch= @ref %span= @ref
.form-group.commit_message-group .form-group.commit_message-group
= label_tag 'commit_message', class: "control-label" do = label_tag 'commit_message', class: "control-label" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment