Commit b3b514d1 authored by Serge S. Koval's avatar Serge S. Koval

Minor style adjustements.

parent bb9d08a8
...@@ -60,3 +60,8 @@ form.search-form a.clear i { ...@@ -60,3 +60,8 @@ form.search-form a.clear i {
color: black; color: black;
opacity: 0.4; opacity: 0.4;
} }
/* Inline forms */
.fa-inline-form-control {
float: right;
}
\ No newline at end of file
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
{% macro render_template(template) -%} {% macro render_template(template) -%}
<div class="fa-inline-form"> <div class="fa-inline-form">
<div style="float: right"> <div class="fa-inline-form-control">
<a href="#" class="fa-remove-form"><i class="icon-remove"></i></a> <a href="#" class="fa-remove-form"><i class="icon-remove"></i></a>
</div> </div>
{{ lib.render_form_fields(template) }} {{ lib.render_form_fields(template) }}
...@@ -19,8 +19,9 @@ ...@@ -19,8 +19,9 @@
<div id="{{ subfield.id }}" class="fa-inline-form"> <div id="{{ subfield.id }}" class="fa-inline-form">
{% set pk = subfield.get_pk() %} {% set pk = subfield.get_pk() %}
{%- if pk %} {%- if pk %}
<div style="float: right"> <div class="fa-inline-form-control">
<input type="checkbox" name="del-{{ subfield.id }}" id="del-{{ subfield.id }}" />Delete? <input type="checkbox" name="del-{{ subfield.id }}" id="del-{{ subfield.id }}" />
<label for="del-{{ subfield.id }}" style="display: inline">Delete?</a>
</div> </div>
{%- endif -%} {%- endif -%}
{{ lib.render_form_fields(subfield, True) }} {{ lib.render_form_fields(subfield, True) }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment