diaspora/app/views/aspects/new.haml
Steffen van Bergerem e188782a9a Remove blueprint code
2015-03-02 00:04:57 +01:00

26 lines
959 B
Text

-# Copyright (c) 2010-2011, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
-# Using row to enforce a non-percentual width on span6
.row
.span6
#facebox_header
%h3
= t('contacts.index.add_a_new_aspect')
= form_for(Aspect.new, :remote => @remote) do |aspect|
= aspect.error_messages
- if @person_id
= aspect.hidden_field :person_id, :value => @person_id
%p
= aspect.label :name , t('.name')
= 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')
.bottom_submit_section
= submit_tag t('cancel'), :class => 'btn', :type => :reset, :rel => "close"
= aspect.submit t('.create'), :class => 'btn creation'