Sha256: c44276803fdd8f3fa7d6a5a2baa473527d0b26a98b391f42da49c323e3d7d63f

Contents?: true

Size: 711 Bytes

Versions: 6

Compression:

Stored size: 711 Bytes

Contents

<%= upload_form_tag( :controller => 'nodes', :action => 'import', :id => @node.parent_zip ) %>
<p class="btn_validate"><input type="submit" value='<%= _('validate') %>'/></p>
<% [:redir, :js, :reload].each do |p|; next unless params[p] %>
<input type='hidden' name='<%= p %>' value='<%=h params[p] %>'/>
<% end %>

<%= upload_field %>


<label for='node_klass'><%= _('class of first element') %></label>
<%= select('node', 'klass', Node.classes_for_form, :selected => 'Page' ) %><br/>

<% if @node.can_publish? && !@node.auto_publish? %>
<label for='node_v_status'><%= _('publish nodes') %></label>
<small><input type='checkbox' name='node[v_status]' value='50'/> <%= _('pub') %></small><br/>
<% end -%>
</form>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
zena-1.2.8 app/views/templates/document_create_tabs/_import.rhtml
zena-1.2.7 app/views/templates/document_create_tabs/_import.rhtml
zena-1.2.6 app/views/templates/document_create_tabs/_import.rhtml
zena-1.2.5 app/views/templates/document_create_tabs/_import.rhtml
zena-1.2.4 app/views/templates/document_create_tabs/_import.rhtml
zena-1.2.3 app/views/templates/document_create_tabs/_import.rhtml