Yes, :xhr was set to false. I did some tricks with assets (rake 
assets:clobber, rake assets:precompile). Now I'm building my 
form(_show_export_form.html.erb): two radio buttons (one for all records 
select, one for range_select (this one has two number fields beside)).

<div class="btn-group" data-toggle="buttons">
  <label class="btn btn-primary active">
    <input type="radio" name="options" id="all" autocomplete="off" checked> 
Вся таблица
  </label>
  <label class="btn btn-primary">
    <input type="radio" name="options" id="ranged" autocomplete="off"> 
Выбранные страницы
  </label>
</div>
<%= number_field_tag("from", nil, options = { :in => 1..10000 }) %>
<%= number_field_tag("to", nil, options = { :in => 1..10000 }) %>
I need to check if one of this radio buttons is checked and continue with 
export. How can I implement this in my controller in export action? Could 
you please give me a link for some docs or something?

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to