<%# extend FormerPlugin::FieldHelper %>
<%= _('Basic information')%> <%= required f.text_field(:business_name, :onchange => "updateUrlField(this, 'profile_data_identifier')") %> <%= required f.text_field(:company_name) %> <%= required f.text_field(:cnpj) %> <%#= widgets_for_form(f, :bsc_fields) %> <%= hidden_field_tag 'old_bsc_identifier', profile.identifier %>
<%= content_tag('code', environment.top_url + '/ ' + text_field(:profile_data, :identifier, :onchange => "warn_value_change()", :size => 25) ) + content_tag('div', content_tag('strong', _('WARNING!')) + ' ' + _("You are about to change the address, and this will break external links to this bsc or to posts inside it. Do you really want to change?") + content_tag('div', button_to_function(:ok, _("Yes"), "confirm_change()") + ' ' + button_to_function(:cancel, _('No'), 'no_change()') ), :id => 'identifier-change-confirmation', :class => 'change-confirmation', :style => 'display: none;' ) %>
<%= _('Contact')%> <%= f.text_field(:contact_email) %> <%= f.text_field(:organization_website) %> <%= f.text_field(:contact_phone) %>
<%= _('Location')%> <%= f.text_field(:address) %> <%= f.text_field(:zip_code) %> <%= f.text_field(:city) %> <%= f.text_field(:state) %> <%= select_country(_('Country'), :profile_data, 'country', {:class => 'type-select'}) %>