Sha256: 3225889a8b6bf8a154f0c87ec346386d3992715f89c299a10cf37a47afb9c91c
Contents?: true
Size: 1.04 KB
Versions: 93
Compression:
Stored size: 1.04 KB
Contents
<h1>New Content<%= " under '#{@parent.title}'" unless @parent.nil? %></h1> <p>* Required Fields</p> <%= form_for(@node, :as => :node, :url => noodall_admin_nodes_path) do |f| %> <%= f.error_messages %> <%= f.hidden_field :parent, :value => @node.parent_id %> <div id="main-form"> <p> <span class="tooltip" title="Enter a title for this page"> </span> <%= f.label :title, 'Title *' %><br/> <span class="input-wrap"><%= f.text_field :title %></span> </p> <fieldset class="template"> <legend>Select a template *</legend> <% for template_name in @template_names -%> <label> <%= template_name %> <%= f.radio_button :template, template_name, :checked => (template_name == @template_names.first) %><br/> <%= image_tag "admin/templates/#{template_name.parameterize}.gif", :title => template_name %> </label> <% end -%> </fieldset> <p class="fixed-form"> <span><%= f.submit 'Create', :class => 'create' %> <%= link_to 'Cancel', noodall_admin_nodes_path, :class => 'cancel' %></span> </p> <% end %> </div>
Version data entries
93 entries across 93 versions & 1 rubygems