Sha256: 0328d2d62900a3bcffcd1a53c6809914388e6ad4b027d4fffd3abe665700fee4

Contents?: true

Size: 676 Bytes

Versions: 16

Compression:

Stored size: 676 Bytes

Contents

= form_for @feature do |f|
  - if @feature.errors.any?
    #error_explanation
      %h2= "#{pluralize(@feature.errors.count, "error")} prohibited this feature from being saved:"
      %ul
        - @feature.errors.full_messages.each do |message|
          %li= message

  .field
    = f.label :name
    = f.text_field :name
  .field
    = f.label :description
    = f.text_area :description, rows: 5
  .field
    = f.label :notice
    = f.text_area :notice, rows: 10
  .field
    = f.label :state
    = f.select :state, ['enabled', 'disabled']
  .actions.clearfix
    .float-left
      = link_to 'Back', features_path, class: 'button'
    .float-right
      = f.submit 'Save'

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
plug-0.2.0 app/views/plug/features/_form.html.haml
plug-0.1.28 app/views/plug/features/_form.html.haml
plug-0.1.27 app/views/plug/features/_form.html.haml
plug-0.1.26 app/views/plug/features/_form.html.haml
plug-0.1.25 app/views/plug/features/_form.html.haml
plug-0.1.24 app/views/plug/features/_form.html.haml
plug-0.1.23 app/views/plug/features/_form.html.haml
plug-0.1.22 app/views/plug/features/_form.html.haml
plug-0.1.21 app/views/plug/features/_form.html.haml
plug-0.1.19 app/views/plug/features/_form.html.haml
plug-0.1.18 app/views/plug/features/_form.html.haml
plug-0.1.16 app/views/plug/features/_form.html.haml
plug-0.1.15 app/views/plug/features/_form.html.haml
plug-0.1.14 app/views/plug/features/_form.html.haml
plug-0.1.12 app/views/plug/features/_form.html.haml
plug-0.1.11 app/views/plug/features/_form.html.haml