Commit d5addde0893b13590c7be9a73a24e9e6736aa1bd
1 parent
dca8a85d
Exists in
master
and in
29 other branches
Removing unused code.
Showing
3 changed files
with
0 additions
and
54 deletions
Show diff stats
app/views/enterprise_editor/_form.rhtml
... | ... | @@ -1,24 +0,0 @@ |
1 | -<label class='formlabel' for="name"><%= _('Name') %></label> | |
2 | -<p class='formfield text_field'><%= text_field 'enterprise', 'name', 'size' => 20, 'class' => 'formfield text_field' %></p> | |
3 | - | |
4 | -<p class='formfield text_field'><label for="address"><%= _('Address') %></label><br/> | |
5 | -<%= text_field 'enterprise', 'address', 'size' => 50 %></p> | |
6 | - | |
7 | -<p class='formfield text_field'><label for="contact_phone"><%= _('Contact Phone') %></label><br/> | |
8 | -<%= text_field 'enterprise', 'contact_phone', 'size' => 20 %></p> | |
9 | - | |
10 | -<p class='formfield text_field'><label for="contact_person"><%= _('Contact Person') %></label><br/> | |
11 | -<%= text_field 'enterprise', 'contact_person', 'size' => 20 %></p> | |
12 | - | |
13 | -<p class='formfield text_field'><label for="acronym"><%= _('Acronym') %></label><br/> | |
14 | -<%= text_field 'enterprise', 'acronym', 'size' => 20 %></p> | |
15 | - | |
16 | -<p class='formfield text_field'><label for="foundation_year"><%= _('Foundation Year') %></label><br/> | |
17 | -<%= text_field 'enterprise', 'foundation_year', 'size' => 20 %></p> | |
18 | - | |
19 | -<p class='formfield text_field'><label for="economic_activity"><%= _('Economic Activity') %></label><br/> | |
20 | -<%= text_field 'enterprise', 'economic_activity', 'size' => 20 %></p> | |
21 | - | |
22 | -<p class='formfield select'><label for="validation_entity"><%= _('Validation Entity') %></label><br/> | |
23 | -<%= select 'validation_entity', 'id', @validation_entities.map{|v| [v.name, v.id]}, :include_blank => true %></p> | |
24 | - |
app/views/enterprise_editor/edit.rhtml
... | ... | @@ -1,10 +0,0 @@ |
1 | -<%= error_messages_for 'enterprise' %> | |
2 | - | |
3 | -<h2><%= _('Edit enterprise informations') %></h2> | |
4 | - | |
5 | -<% form_tag :action => 'update', :id => @enterprise do %> | |
6 | - <%= render :partial => 'form' %> | |
7 | - <% button_bar do %> | |
8 | - <%= submit_button('save', _('Update'), :cancel => {:action => 'index'}) %> | |
9 | - <% end %> | |
10 | -<% end %> |
app/views/enterprise_editor/index.rhtml
... | ... | @@ -1,20 +0,0 @@ |
1 | -<h3> <%= @enterprise.name %> </h3> | |
2 | - | |
3 | -<%= error_messages_for 'profile' %> | |
4 | - | |
5 | -<p> <%= _('Identifier:') %> <%= @enterprise.identifier %> </p> | |
6 | -<p> <%= _('Address:') %> <%= @enterprise.address %> </p> | |
7 | -<p> <%= _('Contact phone:') %> <%= @enterprise.contact_phone %> </p> | |
8 | -<p> <%= _('Contact person:') %> <%= @enterprise.contact_person %> </p> | |
9 | -<p> <%= _('Acronym:') %> <%= @enterprise.acronym %> </p> | |
10 | -<p> <%= _('Foundation year:') %> <%= @enterprise.foundation_year %> </p> | |
11 | -<p> <%= _('Economic activity:') %> <%= @enterprise.economic_activity %> </p> | |
12 | - | |
13 | -<%= link_to _('Edit enterprise'), :action => 'edit', :id => @enterprise %> | |
14 | -<%= help _('Change the information about the enterprise') %> | |
15 | -<%= link_to _('Delete enterprise'), :action => 'destroy', :id => @enterprise %> | |
16 | -<%= help _('Remove the enterprise from the system') %> | |
17 | -<%= link_to _('Activate'), :action => 'activate', :id => @enterprise unless @enterprise.active? %> | |
18 | -<%= help _('Activate an approved enterprise') unless @enterprise.active? %> | |
19 | - | |
20 | -<%= link_to _('Back'), :controller => :profile_editor %> |