Sha256: 2fd2a2a2803d901d2d7c9fcac9bdee52a3009051fee4657bd35a580d4414dd68

Contents?: true

Size: 813 Bytes

Versions: 10

Compression:

Stored size: 813 Bytes

Contents

<!-- Scaffolding generated by Kryptonite <%= kryptonite_get_full_version_string %> -->

<h2><%%=t "scaffold.add_new", :model=>t("kryptonite.<%= plural_name %>.singular_name_down") %></h2>

<%%= form_for @<%= file_name %>, :url => kryptonite_<%= @plural_route %>_path do |f| %>
	
	<%%= render :partial => 'kryptonite/<%= plural_name %>/form', :locals => { :f => f } %>
	
	<p class="submits">
		<%%= link_to t("scaffold_cancel"), kryptonite_<%= @plural_route %>_path, :class => 'cancel' %> or
		<%%= f.submit t("scaffold_add_new", :model=>t("kryptonite.<%= plural_name %>.singular_name_down")), :class => "update" %>
	</p>

<%% end %>

<%%= content_for :sidebar do %>
	<li><%%= link_to "#{kryptonite_show_icon "table"}#{t("scaffold_back_to_list")}".html_safe, kryptonite_<%= @plural_route %>_path %></li>
<%% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
kryptonite-0.1.0 lib/generators/kryptonite/scaffold/templates/views/new.html.erb
kryptonite-0.0.10 lib/generators/kryptonite/scaffold/templates/views/new.html.erb
kryptonite-0.0.9 lib/generators/kryptonite/scaffold/templates/views/new.html.erb
kryptonite-0.0.8 lib/generators/kryptonite/scaffold/templates/views/new.html.erb
kryptonite-0.0.7 lib/generators/kryptonite/scaffold/templates/views/new.html.erb
kryptonite-0.0.6 lib/generators/kryptonite/scaffold/templates/views/new.html.erb
kryptonite-0.0.5 lib/generators/kryptonite/scaffold/templates/views/new.html.erb
kryptonite-0.0.4 lib/generators/kryptonite/scaffold/templates/views/new.html.erb
kryptonite-0.0.3 lib/generators/kryptonite/scaffold/templates/views/new.html.erb
kryptonite-0.0.2 lib/generators/kryptonite/scaffold/templates/views/new.html.erb