Sha256: 1818ddfed2620c2cb038f4c3678bdfd96715ed7cc44932bc5e4a9643b86f6248

Contents?: true

Size: 664 Bytes

Versions: 45

Compression:

Stored size: 664 Bytes

Contents

<% custom_form_for(:topic, :url => topics_path, :html => {:method => :post}) do |f| -%>
  <%= text_field_tag :terms, params[:terms] || @terms %>
  <%= f.submit t('muck.services.build_topic'), :id => 'generate_topic' %>
  <span id="generating_topic_message" style="display:none;">
    <%= t('muck.services.generating_topic_message') %><img src="/images/spinner.gif" alt="<%= t('muck.services.discover_feed_message') %>" />
  </span>
<% end -%>
<% content_for :javascript do -%>
jQuery(document).ready(function() {
    jQuery('#generate_topic').click(function(){
        jQuery(this).hide();
        jQuery('#generating_topic_message').show();
    });
});
<% end -%>

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
muck-services-0.1.47 app/views/topics/_form.html.erb
muck-services-0.1.46 app/views/topics/_form.html.erb
muck-services-0.1.45 app/views/topics/_form.html.erb
muck-services-0.1.44 app/views/topics/_form.html.erb
muck-services-0.1.43 app/views/topics/_form.html.erb
muck-services-0.1.42 app/views/topics/_form.html.erb
muck-services-0.1.41 app/views/topics/_form.html.erb
muck-services-0.1.40 app/views/topics/_form.html.erb
muck-services-0.1.39 app/views/topics/_form.html.erb
muck-services-0.1.38 app/views/topics/_form.html.erb
muck-services-0.1.37 app/views/topics/_form.html.erb
muck-services-0.1.36 app/views/topics/_form.html.erb
muck-services-0.1.35 app/views/topics/_form.html.erb
muck-services-0.1.34 app/views/topics/_form.html.erb
muck-services-0.1.33 app/views/topics/_form.html.erb
muck-services-0.1.32 app/views/topics/_form.html.erb
muck-services-0.1.31 app/views/topics/_form.html.erb
muck-services-0.1.30 app/views/topics/_form.html.erb
muck-services-0.1.29 app/views/topics/_form.html.erb
muck-services-0.1.28 app/views/topics/_form.html.erb