<% unless @user_request.nil? %> <%= form_tag( {:controller => "export_email", :action => "send_txt", :id => params[:id]}, :class => "form-horizontal" ) do %>

<%= @svc_response.service.translate 'header' %>

<%= validation_error flash[:alert] if flash[:alert] %>

<%= brief_citation(@user_request) %>

<%= label_tag('number', @svc_response.service.translate('enter_your_number'), :class => "control-label col-xs-6") %>
<%= text_field_tag('number', params[:number], :size => 14, :class => "form-control") %>

<%= @svc_response.service.translate 'number_format_description' %>

<%= label_tag('provider', @svc_response.service.translate('select_provider'), :class => "control-label col-xs-6") %>
<% providers = @svc_response.service.instance_variable_get("@providers") %> <%= select_tag "provider", options_for_select(providers.sort, params[:provider]), :class => "form-control" %>
<% holdings = @user_request.get_service_type('holding', {}) %>
<%= label_tag('holding', @svc_response.service.translate('choose_item_to_send'), :class => "control-label col-xs-6") %>

    <% holdings.each do |p| target = p.view_data %>
  • <% end %>
<%= @svc_response.service.translate 'charges_may_apply' %> <%= submit_tag @svc_response.service.translate 'send_action', :class => "btn btn-primary" %> <% end end %>