Sha256: a539e47492ab9ec49ee4ad1a772ed4ae0ec8de87bafe02775a99a1ad0135f7c4
Contents?: true
Size: 1.09 KB
Versions: 21
Compression:
Stored size: 1.09 KB
Contents
<%= render :partial => 'calagator/site/appropriateness_message' %> <%= semantic_form_for(@source, :html => {:id => 'source_form', :class => 'standard_form'}, :url => { :action => :import }) do |f| %> <%= f.inputs :name => "Import a source" do %> <li class='input'> <p class='inline-hints'> Import one or more events from a feed or web page in one of the following formats: <%= Calagator::Source::Parser.labels.to_sentence %> </p> </li> <%= f.input :url, label: "URL", input_html: { autofocus: true } %> <% end %> <%= f.actions do %> <%= f.action :submit, :label => "Import" %> <% end %> <%= f.inputs do %> <li class='input'> <p class='inline-hints'> <b>Bookmarklet</b>: Import pages faster by adding the following bookmark to your browser's bookmarks and click it when you're visiting a webpage that contains events that you'd like to import: <%= link_to "Add to #{Calagator.title}", "javascript:d=document;q=(d.location.href);w=window;location.href='#{new_source_url}?url='+escape(q);" %> </p> </li> <% end %> <% end %>
Version data entries
21 entries across 21 versions & 4 rubygems