Commit 8f0a97da authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add base64 encoding selector to new file UI so you can add image to repo

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 4f2e9fb8
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
text-align: center; text-align: center;
img { img {
padding: 100px; padding: 100px;
max-width: 300px; max-width: 50%;
} }
} }
......
...@@ -14,6 +14,12 @@ ...@@ -14,6 +14,12 @@
on on
%span= @ref %span= @ref
.form-group.commit_message-group
= label_tag :encoding, class: "control-label" do
Encoding
.col-sm-10
= select_tag :encoding, options_for_select([ "base64", "text" ], "text"), class: 'form-control'
.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
Commit message Commit message
......
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