1. Guillaume Piot
  2. Cotidia Admin Tools

Commits

Guillaume Piot  committed ba9d6ba

Layout updates

  • Participants
  • Parent commits cb05375
  • Branches master

Comments (0)

Files changed (3)

File admin_tools/static/admin/css/base.css

View file
 .content form .form-actions {
   padding: 0 15px;
   bottom: -63px;
+  z-index: 10;
 }
 .content form .form-actions.fixed_bottom {
   position: fixed;

File admin_tools/static/admin/less/admin.layout.less

View file
 		.form-actions{
 			padding:0 15px;
 	        bottom:-63px;
+	        z-index:10;
 	        &.fixed_bottom{
 	            position: fixed;
 	            bottom:0;

File admin_tools/templates/admin/includes/field_standard.html

View file
+{% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %}
 <div class="form-row">
     <div {% if not line.fields|length_is:'1' %} class="field-box{% if field.name %} field-{{ field.name }}{% endif %}{% if not field.is_readonly and field.errors %} errors{% endif %} {{field.css_classes}}"{% else %}class="{{field.css_classes}}"{% endif %}>
-        {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %}
-
+        
         {% if field.is_hidden %}
             {{field}}
         {% elif field.is_checkbox %}