Sha256: e7248e8dcda19e5dcad37d9d7303c1c0dfcffd9af8e730ed12b78c3fcbf397ad

Contents?: true

Size: 942 Bytes

Versions: 2

Compression:

Stored size: 942 Bytes

Contents

-#
-# ish_manager / tags / _form
-#

= form_for @tag do |f|
  .row
    .col-xs-12.col-md-6
      .input-field
        = f.label :name
        = f.text_field :name
    .col-xs-12.col-md-6
      .input-field
        = f.label :name_seo
        = f.text_field :name_seo
  .row      
    .col-xs-12.col-md-6
      .input-field
        = f.select :parent_tag_id, options_for_select( @tags_list, :selected => ( params[:for_tag] || @tag.parent_tag_id ) )
        = f.label "parent tag"
    .col-xs-12.col-md-6
      .input-field 
        = f.select :site, options_for_select( @sites_list, :selected => @tag.site_id )
        = f.label "site"
  .row      
    .col-xs-12.col-md-3
      = f.check_box :is_public
      = f.label :is_public
    .col-xs-12.col-md-3
      = f.check_box :is_feature
      = f.label :is_feature
    .col-xs-12.col-md-3
      = f.check_box :is_trash
      = f.label :is_trash
  .row
    .actions
      %br
      = f.submit

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ish_manager-0.1.8.139 app/views/ish_manager/tags/_form.haml
ish_manager-0.1.8.138 app/views/ish_manager/tags/_form.haml