app/views/organizations/_form.html.haml in artfully_ose-1.2.0.pre.23 vs app/views/organizations/_form.html.haml in artfully_ose-1.2.0.pre.24
- old
+ new
@@ -1,10 +1,10 @@
%fieldset.ng-cloak
%legend Required Info
.control-group{"ng-class" => "{error: ! data.organization.valid_name}"}
= form.label :name, "Organization Name", :class => 'control-label'
.controls
- = form.text_field :name, :placeholder => 'Example Organization', :required => true, :class => 'input-xlarge no-fa', "ng-model" => "data.organization.name", "ng-init" => "data.organization.name = '#{form.object.name}'"
+ = form.text_field :name, :value => @organization.name, :required => true, :class => 'input-xlarge no-fa'
%p.text-error{"ng-hide" => "data.organization.valid_name"} Artful.ly already has an organization with this name and zip code. If you forgot your password or would like to be added to the existing organization please email #{mail_to "support@artful.ly"}.
.control-group
= form.label :email, 'Organization Email', :class=>'control-label'
.controls