Sha256: 019e5f5c365df418fd2b3d28123a1bbf1ac24f47273d05dc356762d5f18b9ae9

Contents?: true

Size: 869 Bytes

Versions: 7

Compression:

Stored size: 869 Bytes

Contents

<%= output_errors('', {:class => 'help-box'}, @feed) %>
<%= muck_form_for(:feed, :url => polymorphic_url([parent, :feeds], :format => 'pjs')) do |f| -%>
  <%= f.text_field :title, { :label => t('muck.services.title' ) }  %>
  <%= f.text_field :uri, { :label => t('muck.services.add_feed_url' ) }  %>
  <%= f.hidden_field :service_id %>
  <div class="button form-row">
    <%= submit_tag t('muck.services.add_feed'), :id => 'add_feed_uri' %>
    <span id="finding_uri_message" style="display:none;">
      <%= t('muck.services.submitting_feed_message') %> <img src="/images/spinner.gif" alt="<%= t('muck.services.loading_image') %>" />
    </span>
  </div>
<% end -%>
<% content_for :javascript do -%>
jQuery(document).ready(function() {
  jQuery('#add_feed_uri').click(function(){
    jQuery(this).hide();
    jQuery('#finding_uri_message').show();
  });
});
<% end -%>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
muck-services-3.3.0 app/views/feeds/_form.html.erb
muck-services-3.2.2 app/views/feeds/_form.html.erb
muck-services-3.2.1 app/views/feeds/_form.html.erb
muck-services-3.2.0 app/views/feeds/_form.html.erb
muck-services-3.1.1 app/views/feeds/_form.html.erb
muck-services-3.1.0 app/views/feeds/_form.html.erb
muck-services-3.0.0 app/views/feeds/_form.html.erb