diff --git a/app/views/enterprise_editor/_form.rhtml b/app/views/enterprise_editor/_form.rhtml deleted file mode 100644 index d9da0be..0000000 --- a/app/views/enterprise_editor/_form.rhtml +++ /dev/null @@ -1,24 +0,0 @@ - -

<%= text_field 'enterprise', 'name', 'size' => 20, 'class' => 'formfield text_field' %>

- -


-<%= text_field 'enterprise', 'address', 'size' => 50 %>

- -


-<%= text_field 'enterprise', 'contact_phone', 'size' => 20 %>

- -


-<%= text_field 'enterprise', 'contact_person', 'size' => 20 %>

- -


-<%= text_field 'enterprise', 'acronym', 'size' => 20 %>

- -


-<%= text_field 'enterprise', 'foundation_year', 'size' => 20 %>

- -


-<%= text_field 'enterprise', 'economic_activity', 'size' => 20 %>

- -


-<%= select 'validation_entity', 'id', @validation_entities.map{|v| [v.name, v.id]}, :include_blank => true %>

- diff --git a/app/views/enterprise_editor/edit.rhtml b/app/views/enterprise_editor/edit.rhtml deleted file mode 100644 index 62f43c0..0000000 --- a/app/views/enterprise_editor/edit.rhtml +++ /dev/null @@ -1,10 +0,0 @@ -<%= error_messages_for 'enterprise' %> - -

<%= _('Edit enterprise informations') %>

- -<% form_tag :action => 'update', :id => @enterprise do %> - <%= render :partial => 'form' %> - <% button_bar do %> - <%= submit_button('save', _('Update'), :cancel => {:action => 'index'}) %> - <% end %> -<% end %> diff --git a/app/views/enterprise_editor/index.rhtml b/app/views/enterprise_editor/index.rhtml deleted file mode 100644 index 7a5d344..0000000 --- a/app/views/enterprise_editor/index.rhtml +++ /dev/null @@ -1,20 +0,0 @@ -

<%= @enterprise.name %>

- -<%= error_messages_for 'profile' %> - -

<%= _('Identifier:') %> <%= @enterprise.identifier %>

-

<%= _('Address:') %> <%= @enterprise.address %>

-

<%= _('Contact phone:') %> <%= @enterprise.contact_phone %>

-

<%= _('Contact person:') %> <%= @enterprise.contact_person %>

-

<%= _('Acronym:') %> <%= @enterprise.acronym %>

-

<%= _('Foundation year:') %> <%= @enterprise.foundation_year %>

-

<%= _('Economic activity:') %> <%= @enterprise.economic_activity %>

- -<%= link_to _('Edit enterprise'), :action => 'edit', :id => @enterprise %> -<%= help _('Change the information about the enterprise') %> -<%= link_to _('Delete enterprise'), :action => 'destroy', :id => @enterprise %> -<%= help _('Remove the enterprise from the system') %> -<%= link_to _('Activate'), :action => 'activate', :id => @enterprise unless @enterprise.active? %> -<%= help _('Activate an approved enterprise') unless @enterprise.active? %> - -<%= link_to _('Back'), :controller => :profile_editor %> -- libgit2 0.21.2