diff --git a/app/assets/stylesheets/aspects.css.scss b/app/assets/stylesheets/aspects.css.scss index a673ccb80..9f07d2659 100644 --- a/app/assets/stylesheets/aspects.css.scss +++ b/app/assets/stylesheets/aspects.css.scss @@ -370,3 +370,14 @@ $bluebg: #e7f2f7; display: block; } } + +#new_aspect { + #aspect_contacts_visible.checkbox { + margin: 0px; + } + + label[for="aspect_contacts_visible"] { + display: inline; + } +} + diff --git a/app/views/aspects/new.haml b/app/views/aspects/new.haml index 9fafc9331..82a90bdb3 100644 --- a/app/views/aspects/new.haml +++ b/app/views/aspects/new.haml @@ -2,7 +2,9 @@ -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. -.span-12.last +-# TODO: remove Blueprint classes when everything is ported to Bootstrap + +.span6.span-12.last #facebox_header %h3 = t('contacts.index.add_a_new_aspect') @@ -16,11 +18,11 @@ = aspect.text_field :name, :maxlength => 20 %p.checkbox_select + = aspect.check_box :contacts_visible, :checked => false, class: 'checkbox' = aspect.label :contacts_visible, t('aspects.edit.make_aspect_list_visible') - = aspect.check_box :contacts_visible, :checked => false %br .bottom_submit_section - = submit_tag t('cancel'), :class => 'button', :type => :reset, :rel => "close" - = aspect.submit t('.create'), :class => 'button creation' + = submit_tag t('cancel'), :class => 'button btn', :type => :reset, :rel => "close" + = aspect.submit t('.create'), :class => 'button btn creation'