app/views/admin/styles/new.html.haml in radiant-sheets-extension-1.0.4 vs app/views/admin/styles/new.html.haml in radiant-sheets-extension-1.0.5
- old
+ new
@@ -1,13 +1,13 @@
%h1= model.new_record? ? t('new_stylesheet') : t('edit_stylesheet')
- form_for [:admin, model], :url => (model.new_record? ? admin_styles_url() : admin_style_url(model)) do |f|
%p.title
- = label :sheet_page, :slug, 'Slug'
+ = label :sheet_page, :slug, t('slug')
= f.text_field :slug, :class => 'textbox', :maxlength => 255, :id => "sheet_page_slug"
%span.hint= %{Path: #{@root.url}<span id="this_slug">#{model.slug}</span>}
- f.fields_for :parts do |p|
%p.content
- = p.label :content, 'Body'
+ = p.label :content, t('content')
= p.hidden_field :name, :value => 'body' if model.new_record?
= p.text_area :content, :class => 'textarea large', :style => 'width: 100%'
%p
- if SheetsExtension.stylesheet_filters.blank?
= p.hidden_field :filter_id, :value => ''
\ No newline at end of file