removing blueprint classes from new aspect modal

This commit is contained in:
Pablo Cuadrado 2014-09-23 20:37:10 -03:00 committed by Steffen van Bergerem
parent 122fde9093
commit b2e3866217

View file

@ -2,31 +2,28 @@
-# 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.
-# TODO: remove Blueprint classes when everything is ported to Bootstrap -# Using row to enforce a non-percentual width on span6
.row
.span6
#facebox_header
%h3
= t('contacts.index.add_a_new_aspect')
.span6.span-12.last = form_for(Aspect.new, :remote => @remote) do |aspect|
#facebox_header = aspect.error_messages
%h3 - if @person_id
= t('contacts.index.add_a_new_aspect') = aspect.hidden_field :person_id, :value => @person_id
%p
= aspect.label :name , t('.name')
= aspect.text_field :name, :maxlength => 20
= form_for(Aspect.new, :remote => @remote) do |aspect| %p.checkbox_select
= aspect.error_messages = aspect.check_box :contacts_visible, :checked => false, class: 'checkbox'
- if @person_id = aspect.label :contacts_visible, t('aspects.edit.make_aspect_list_visible')
= aspect.hidden_field :person_id, :value => @person_id
%p
= aspect.label :name , t('.name')
= aspect.text_field :name, :maxlength => 20
%p.checkbox_select %br
= aspect.check_box :contacts_visible, :checked => false, class: 'checkbox'
= aspect.label :contacts_visible, t('aspects.edit.make_aspect_list_visible')
%p.checkbox_select .bottom_submit_section
= aspect.check_box :chat_enabled, :checked => false, class: 'checkbox' = submit_tag t('cancel'), :class => 'btn', :type => :reset, :rel => "close"
= aspect.label :chat_enabled, t('aspects.edit.grant_contacts_chat_privilege') = aspect.submit t('.create'), :class => 'btn creation'
%br
.bottom_submit_section
= submit_tag t('cancel'), :class => 'button btn', :type => :reset, :rel => "close"
= aspect.submit t('.create'), :class => 'button btn creation'