Make new aspect popup Bootstrap compatible
This commit is contained in:
parent
f085436160
commit
ede042f6cd
2 changed files with 17 additions and 4 deletions
|
|
@ -370,3 +370,14 @@ $bluebg: #e7f2f7;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#new_aspect {
|
||||||
|
#aspect_contacts_visible.checkbox {
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
label[for="aspect_contacts_visible"] {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,9 @@
|
||||||
-# licensed under the Affero General Public License version 3 or later. See
|
-# licensed under the Affero General Public License version 3 or later. See
|
||||||
-# the COPYRIGHT file.
|
-# the COPYRIGHT file.
|
||||||
|
|
||||||
.span-12.last
|
-# TODO: remove Blueprint classes when everything is ported to Bootstrap
|
||||||
|
|
||||||
|
.span6.span-12.last
|
||||||
#facebox_header
|
#facebox_header
|
||||||
%h3
|
%h3
|
||||||
= t('contacts.index.add_a_new_aspect')
|
= t('contacts.index.add_a_new_aspect')
|
||||||
|
|
@ -16,11 +18,11 @@
|
||||||
= aspect.text_field :name, :maxlength => 20
|
= aspect.text_field :name, :maxlength => 20
|
||||||
|
|
||||||
%p.checkbox_select
|
%p.checkbox_select
|
||||||
|
= aspect.check_box :contacts_visible, :checked => false, class: 'checkbox'
|
||||||
= aspect.label :contacts_visible, t('aspects.edit.make_aspect_list_visible')
|
= aspect.label :contacts_visible, t('aspects.edit.make_aspect_list_visible')
|
||||||
= aspect.check_box :contacts_visible, :checked => false
|
|
||||||
|
|
||||||
%br
|
%br
|
||||||
|
|
||||||
.bottom_submit_section
|
.bottom_submit_section
|
||||||
= submit_tag t('cancel'), :class => 'button', :type => :reset, :rel => "close"
|
= submit_tag t('cancel'), :class => 'button btn', :type => :reset, :rel => "close"
|
||||||
= aspect.submit t('.create'), :class => 'button creation'
|
= aspect.submit t('.create'), :class => 'button btn creation'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue