Sha256: 63463dea96cf9f628c0d8bc007a8224cc02415f3cbc09abf0f3bb0f0157991d9
Contents?: true
Size: 1.51 KB
Versions: 3
Compression:
Stored size: 1.51 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" %> <% focus_on '#source_url' %> <%# FIXME Igal has disabled reimport UI because people are adding almost all new events with re-import, which means that they're almost all generating duplicates and I'm completely overwhelmed with having to use the horrible squashing UI to deal with them. %> <% if false %> <%= f.input :reimport, :label => "Re-import?", :hint => "(Regularly check this source and import new events automatically?)" %> <% end %> <% 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
calagator-1.0.0.rc2 | app/views/calagator/sources/new.html.erb |
calagator-1.0.0.rc1 | app/views/calagator/sources/new.html.erb |
calagator-0.0.1.pre1 | app/views/calagator/sources/new.html.erb |