Sha256: 92835a2d5c9e5f5e402d7574ef49a86a97f8dfba77008a9ab242ec900ad3efcb

Contents?: true

Size: 507 Bytes

Versions: 10

Compression:

Stored size: 507 Bytes

Contents

<h2><%%= "#{t('New')} #{<%= class_name %>.model_name.human}" %></h2>
<%% form_for([:admin, @<%= singular_name %>]) do |f| %>
  <%%= f.error_messages %>
  <div class="issue">
  <%%= render :partial => 'form' , :locals => {:f => f} %>
  </div>
  <%%= f.submit t('Create') %>
<%% end %>
<%%= link_to t('Back'), admin_<%= plural_name %>_path %>

<%% content_for :sidebar do %>
  <h3>Actions</h3>
  <%%= link_to "#{t('Back_to')} #{<%= class_name %>.model_name.human}", admin_<%= plural_name %>_path %>
<%% end %>

Version data entries

10 entries across 6 versions & 2 rubygems

Version Path
somatics3-0.0.10 lib/generators/somatics/settings_controller/templates/view_new.html.erb
somatics3-0.0.10 lib/generators/somatics/scaffold_controller/templates/view_new.html.erb
somatics3-generators-0.0.10 lib/generators/somatics/scaffold_controller/templates/view_new.html.erb
somatics3-generators-0.0.10 lib/generators/somatics/settings_controller/templates/view_new.html.erb
somatics3-generators-0.0.9 lib/generators/somatics/scaffold_controller/templates/view_new.html.erb
somatics3-generators-0.0.9 lib/generators/somatics/settings_controller/templates/view_new.html.erb
somatics3-generators-0.0.8 lib/generators/somatics/scaffold_controller/templates/view_new.html.erb
somatics3-generators-0.0.8 lib/generators/somatics/settings_controller/templates/view_new.html.erb
somatics3-generators-0.0.7 lib/generators/somatics/scaffold_controller/templates/view_new.html.erb
somatics3-generators-0.0.6 lib/generators/somatics/scaffold_controller/templates/view_new.html.erb