Commit 8f0a97da0498dbfab0ad98402bea577ee68abdab
1 parent
4f2e9fb8
Exists in
spb-stable
and in
3 other branches
Add base64 encoding selector to new file UI so you can add image to repo
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
2 changed files
with
7 additions
and
1 deletions
Show diff stats
app/assets/stylesheets/generic/files.scss
app/views/projects/new_tree/show.html.haml
@@ -15,6 +15,12 @@ | @@ -15,6 +15,12 @@ | ||
15 | %span= @ref | 15 | %span= @ref |
16 | 16 | ||
17 | .form-group.commit_message-group | 17 | .form-group.commit_message-group |
18 | + = label_tag :encoding, class: "control-label" do | ||
19 | + Encoding | ||
20 | + .col-sm-10 | ||
21 | + = select_tag :encoding, options_for_select([ "base64", "text" ], "text"), class: 'form-control' | ||
22 | + | ||
23 | + .form-group.commit_message-group | ||
18 | = label_tag 'commit_message', class: "control-label" do | 24 | = label_tag 'commit_message', class: "control-label" do |
19 | Commit message | 25 | Commit message |
20 | .col-sm-10 | 26 | .col-sm-10 |