fix: web: add form: improve layout
This commit is contained in:
		
							parent
							
								
									2f00211554
								
							
						
					
					
						commit
						316fbaa755
					
				| @ -54,13 +54,13 @@ | |||||||
|           <span .help-block .error-block>_{err} |           <span .help-block .error-block>_{err} | ||||||
| 
 | 
 | ||||||
| <div .row> | <div .row> | ||||||
|   <div .col-md-8 .col-xs-8 .col-sm-8> |   <div .col-md-9 .col-xs-9 .col-sm-9> | ||||||
|   <div .col-md-4 .col-xs-4 .col-sm-4> |     $if length files > 1 | ||||||
|     <button type=submit .btn .btn-default .btn-lg name=submit>add |       Add to: | ||||||
| 
 |         | ||||||
| $if length files > 1 |       <div style="display:inline-block; width:auto;" .form-group :isJust (fvErrors fileView):.has-error> | ||||||
|   <br> |         ^{fvInput fileView} | ||||||
|   <div style="display:inline-block; width:auto;" .form-group :isJust (fvErrors fileView):.has-error> |         $maybe err <- fvErrors fileView | ||||||
|     To file: ^{fvInput fileView} |           <span .help-block .error-block>#{err} | ||||||
|     $maybe err <- fvErrors fileView |   <div .col-md-3 .col-xs-3 .col-sm-3 style="text-align:right;"> | ||||||
|       <span .help-block .error-block>#{err} |     <button type=submit .btn .btn-default .btn-lg name=submit style="font-weight:bold;">Add | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user