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

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-01-16 18:25:32 +02:00
parent 4f2e9fb8e5
commit 8f0a97da04
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
2 changed files with 7 additions and 1 deletions

View File

@ -45,7 +45,7 @@
text-align: center;
img {
padding: 100px;
max-width: 300px;
max-width: 50%;
}
}

View File

@ -14,6 +14,12 @@
on
%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
= label_tag 'commit_message', class: "control-label" do
Commit message