Sha256: 330ace889fe3ab9821e719043c7efa9036408093d5ef911f6ec2cf6ccf1e0b3d

Contents?: true

Size: 876 Bytes

Versions: 8

Compression:

Stored size: 876 Bytes

Contents

<%=
  content_for :sidebar do
    f.tabs do
      f.tab :options do
        html = (@section.try(:single_link_mode) ? '' : f.text_field(:permalink, :label => true)).html_safe
        html << f.text_field(:tag_list, label: true, hint: "Enter one or more tags separated by a space. You may include spaces by enclosing a tag with quotes. (For example, <em>\"Web Dev\" Tutorials</em>).")

        if @categories.present?
          if !(@section.try(:single_link_mode) ? @section.single_link_mode : false)
            html << %(<label>Publish in Categories</label>).html_safe +
              render(:partial => 'categories/checkboxes', :locals => { :categories => @categories, :content => @article })
          end
        end

        html << f.select(:author_id, author_options(@site.users), { :selected => author_selected(@article) }, :label => true)
      end
    end
  end
%>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adva-0.3.2 app/views/admin/page/articles/_options.html.erb
adva-0.3.1 app/views/admin/page/articles/_options.html.erb
adva-0.3.0 app/views/admin/page/articles/_options.html.erb
adva-0.2.4 app/views/admin/page/articles/_options.html.erb
adva-0.2.3 app/views/admin/page/articles/_options.html.erb
adva-0.2.2 app/views/admin/page/articles/_options.html.erb
adva-0.2.1 app/views/admin/page/articles/_options.html.erb
adva-0.2.0 app/views/admin/page/articles/_options.html.erb