diff --git a/app/views/enterprise/choose_validation_entity_or_net.rhtml b/app/views/enterprise/choose_validation_entity_or_net.rhtml new file mode 100644 index 0000000..1f424e3 --- /dev/null +++ b/app/views/enterprise/choose_validation_entity_or_net.rhtml @@ -0,0 +1,6 @@ +
<%= link_to _('Register'), :action => 'create', :enterprise => @enterprise %> +<%= link_to _('Back'), :action => 'register_form' %>
diff --git a/app/views/enterprise/register.rhtml b/app/views/enterprise/register.rhtml new file mode 100644 index 0000000..73918a3 --- /dev/null +++ b/app/views/enterprise/register.rhtml @@ -0,0 +1,5 @@ +<%= link_to 'Next page', :action => 'register_form' %>
diff --git a/app/views/enterprise/register_form.rhtml b/app/views/enterprise/register_form.rhtml new file mode 100644 index 0000000..8786982 --- /dev/null +++ b/app/views/enterprise/register_form.rhtml @@ -0,0 +1,36 @@ + +<%= error_messages_for 'enterprise' %> + +
+<%= text_field 'enterprise', 'name', 'size' => 20 %>
+<%= 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', 'legal_form', 'size' => 20 %>
+<%= text_field 'enterprise', 'economic_activity', 'size' => 20 %>
+<%= text_area 'enterprise', 'management_information', 'cols' => 40, 'rows' => 20 %>
<%= submit_tag 'Send' %> +<%= link_to 'Cancel', :action => 'register' %>
+<% end %> -- libgit2 0.21.2