Sha256: 57ba788dbf6c660c2d1ea9cd0bf16a5653a9b9a5765088636a5dd42a2b8d3e4d

Contents?: true

Size: 1.1 KB

Versions: 45

Compression:

Stored size: 1.1 KB

Contents

<%= output_errors('', {:class => 'help-box'}) %>

<% custom_form_for(:topic, :url => topics_path, :html => {:method => :post}) do |f| -%>
  <div id="add-data-source" class="services-main span-6 column">
    <h2><%= I18n.t('muck.services.search_for') %></h2>
    <%= text_field_tag :terms, params[:terms] %>
    <p><%= t('muck.services.terms_instructions') %></p>
    <div class="button form-row">
      <%= 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>
    </div>
  </div>
  <div id="data-sources" class="services-main span-16 column">
    <h2><%= I18n.t('muck.services.available_sources') %></h2>
    <%= data_sources(@service_categories) %>
  </div>
<% 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/new.html.erb
muck-services-0.1.46 app/views/topics/new.html.erb
muck-services-0.1.45 app/views/topics/new.html.erb
muck-services-0.1.44 app/views/topics/new.html.erb
muck-services-0.1.43 app/views/topics/new.html.erb
muck-services-0.1.42 app/views/topics/new.html.erb
muck-services-0.1.41 app/views/topics/new.html.erb
muck-services-0.1.40 app/views/topics/new.html.erb
muck-services-0.1.39 app/views/topics/new.html.erb
muck-services-0.1.38 app/views/topics/new.html.erb
muck-services-0.1.37 app/views/topics/new.html.erb
muck-services-0.1.36 app/views/topics/new.html.erb
muck-services-0.1.35 app/views/topics/new.html.erb
muck-services-0.1.34 app/views/topics/new.html.erb
muck-services-0.1.33 app/views/topics/new.html.erb
muck-services-0.1.32 app/views/topics/new.html.erb
muck-services-0.1.31 app/views/topics/new.html.erb
muck-services-0.1.30 app/views/topics/new.html.erb
muck-services-0.1.29 app/views/topics/new.html.erb
muck-services-0.1.28 app/views/topics/new.html.erb