diaspora/app/views/aspects/_new.haml
2011-05-13 11:58:18 -07:00

25 lines
769 B
Text

-# Copyright (c) 2010, Diaspora Inc. This file is
-# licensed under the Affero General Public License version 3 or later. See
-# the COPYRIGHT file.
.span-12.last
#facebox_header
%h4
= t('aspects.manage.add_a_new_aspect')
= form_for(Aspect.new, :remote => (defined?(remote) && remote) ) do |aspect|
= aspect.error_messages
- if defined?(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.label :contacts_visible, t('aspects.edit.make_aspect_list_visible')
= aspect.check_box :contacts_visible, :default => true
%br
= aspect.submit t('.create'), :class => 'button'