@@ -1191,6 +1191,38 @@ <h2 class="design-patterns-heading">Time fields</h2>
11911191 </ div >
11921192 </ div >
11931193
1194+ < h2 class ="design-patterns-heading "> File uploads</ h2 >
1195+ < p > < strong > Code:</ strong > </ p >
1196+ < pre dir ="ltr "> < code class ="language-markup "> <div class="inline-file-uploader">
1197+ <label for="file-upload">Upload file</label>
1198+ <input type="file" multiple>
1199+ <span class="inline-file-uploader-actions">
1200+ <label for="file_example_category">Category</label>
1201+ <select id="file_example_category">
1202+ <option value="" selected> </option>
1203+ <option value="file-example-category">Example category</option>
1204+ </select>
1205+ </span>
1206+ <span class="inline-file-uploader-actions">
1207+ <input type="submit" value="Upload">
1208+ </span>
1209+ </div></ code > </ pre >
1210+ < p > < strong > Example:</ strong > </ p >
1211+ < div class ="inline-file-uploader ">
1212+ < label for ="file-upload "> Upload file</ label >
1213+ < input type ="file " multiple >
1214+ < span class ="inline-file-uploader-actions ">
1215+ < label for ="file_example_category "> Category</ label >
1216+ < select id ="file_example_category ">
1217+ < option value ="" selected > </ option >
1218+ < option value ="file-example-category "> Example category</ option >
1219+ </ select >
1220+ </ span >
1221+ < span class ="inline-file-uploader-actions ">
1222+ < input type ="submit " value ="Upload ">
1223+ </ span >
1224+ </ div >
1225+
11941226 < h2 class ="design-patterns-heading "> Checkboxes</ h2 >
11951227 < p > < strong > Code:</ strong > </ p >
11961228 < pre dir ="ltr "> < code class ="language-markup "> <input type="checkbox" id="test_checkbox_1" name="test_checkbox_1">
0 commit comments