Placeholder views for contacts_visible in aspects

This commit is contained in:
Raphael 2011-01-26 14:35:53 -08:00 committed by zhitomirskiyi
parent a8306f9f37
commit 94ae7a678b
3 changed files with 12 additions and 0 deletions

View file

@ -15,6 +15,11 @@
%hr
= form_for aspect do |asp|
= asp.text_field :name, :value => aspect.name
= t('aspects.contacts_visible')
= aspect.check_box :contacts_visible, :default => true
%br
= t('aspects.contacts_not_visible')
-#contacts_visible should be editable here
= asp.submit t('aspects.edit.rename_aspect')
%hr

View file

@ -12,5 +12,9 @@
%p
= aspect.label :name , t('.name')
= aspect.text_field :name, :maxlength => 20
= t('aspects.contacts_visible')
= aspect.check_box :contacts_visible, :default => true
%br
= t('aspects.contacts_not_visible')
= aspect.submit t('.create'), :class => 'button'

View file

@ -138,6 +138,8 @@ en:
all_contacts: "All contacts"
cannot_remove: "Cannot remove person from last aspect. (If you want to disconnect from this person you must remove contact.)"
aspects:
contacts_visible: "Contacts in this aspect will be able to see each other."
contacts_not_visible: "Contacts in this aspect will not be able to see each other."
edit:
remove_aspect: "Delete this aspect"
confirm_remove_aspect: "Are you sure you want to delete this aspect?"
@ -166,6 +168,7 @@ en:
new_aspect:
name: "Name"
create: "Create"
create:
success: "Your new aspect %{name} was created"
failure: "Aspect creation failed."