Sha256: 5056db0b0615258f1c53bfecb822d2eb56e435664c6e7f4d039d0f51e02d3eff
Contents?: true
Size: 653 Bytes
Versions: 4
Compression:
Stored size: 653 Bytes
Contents
<%- model_class = @content.class -%> <div class="page-header"> <h1><%=t '.title', :default => t('helpers.titles.new', :model => model_class.model_name.human, :default => "New #{model_class.model_name.human}") %></h1> </div> <%= form_for @content, :url => contents_path, :as => :content, :html => { :class => 'form-horizontal' } do |f| %> <%= render :partial => 'fields_new', :locals => {f: f} %> <div class="form-actions"> <%= f.submit nil, :class => 'btn btn-primary' %> <%= link_to t('.cancel', :default => t("helpers.links.cancel")), contents_path, :class => 'btn' %> </div> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems