index.rhtml
1.22 KB
<h1><%= __('Enterprise validations') %></h1>
<% button_bar do %>
<%= button(:edit, _('Edit validation info'), { :action => 'edit_validation_info' }, :help => __('Validation info is the information the enterprises will see about how your organization processes the enterprises validations it receives: validation methodology, restrictions to the types of enterprises the organization validates etc.')) %>
<%= button(:back, _('Go Back'), { :controller => 'profile_editor' }, :help => _('Go back to the control panel.')) %>
<% end %>
<h2><%= __("Pending enterprise validations") %></h2>
<% for pending in @pending_validations %>
<h3><%= pending.name %></h3>
<ul>
<li>
<strong><%= _('Address') %>:</strong>
<%= pending.address %>
</li>
<li>
<strong><%= _('Contact Phone') %>:</strong>
<%= pending.contact_phone %>
</li>
<li>
<strong><%= _('Contact Person') %>:</strong>
<%= pending.contact_person %>
</li>
</ul>
<%= link_to _("See details/approve/reject"), :action => 'details', :id => pending.code %>
<% end %>
<h2><%= __('Processed enterprise validations') %></h2>
<p><%= link_to __("See the list of processed enterprise validations"), :action => 'list_processed' %></p>