Sha256: 729ff3f170fefb97fbf521e880ae71721270afea83b81d857f5584fa2965411c
Contents?: true
Size: 1.13 KB
Versions: 13
Compression:
Stored size: 1.13 KB
Contents
<%= form_tag url_for(:controller => controller_name, :action => "sms"), :id => 'sms_form', :class => "form-horizontal ajax_form", :method => :post do %> <div class="modal-body"> <%= render :partial=>'/flash_msg' %> <div class="form-group"> <label class="control-label col-sm-2" for="to"> <%= t('blacklight.sms.form.to') %> </label> <div class="col-sm-10"> <%= telephone_field_tag :to, params[:to], class: 'form-control' %> </div> </div> <div class="form-group"> <label class="control-label col-sm-2" for="carrier"> <%= t('blacklight.sms.form.carrier') %> </label> <div class="col-sm-10"> <%= select_tag(:carrier, options_for_select(sms_mappings.to_a.sort.unshift([t('blacklight.sms.form.carrier_prompt'),'']), params[:carrier]), class: 'form-control') %><br/> </div> </div> <% @documents.each do |doc| %> <%=hidden_field_tag "id[]", doc.get(:id)%> <% end %> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary"> <%= t('blacklight.sms.form.submit') %></button> </div> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems