Merge branch 'MDL-68353-master' of git://github.com/rezaies/moodle
[moodle.git] / lib / templates / filemanager_fileselect.mustache
index cbff550..c827c9a 100644 (file)
 
     Example context (json):
     {
-        "helpicon": "<a class='btn ..'><i class='icon fa fa-question-circle ..'></i></a>"
+        "helpicon": "<a class='btn ..'><i class='icon fa fa-question-circle ..'></i></a>",
+        "licensehelpicon": {
+            "text": "<ul><li><a href='http://en.wikipedia.org/wiki/All_rights_reserved'>All rights reserved</a></li></ul>",
+            "alt": "Help with Choose license"
+        },
+        "columns": true
     }
 }}
 <div class="filemanager fp-select">
 
                 </div>
                 <div class="fp-license form-group row mx-0">
-                    <label class="form-control-label col-4 px-0">{{#str}}chooselicense, repository{{/str}}</label>
-                    <div class="col-8 form-inline pr-0">
-                        <select class="custom-select form-control"></select>
-                    </div>
+                    {{>core/filemanager_chooselicense}}
                 </div>
                 <div class="fp-path form-group row mx-0">
                     <label class="form-control-label col-4 px-0">{{#str}}path, repository{{/str}}</label>