Sha256: 0e9d9c8bbd23c4731ff81b63783f5114310021544347811ba048c6c4e453c18a

Contents?: true

Size: 453 Bytes

Versions: 1

Compression:

Stored size: 453 Bytes

Contents

- content_for :context do
  .goal-context: .context
    = context_icon :tasks

    - if @goal.persisted?
      = context_title "Modifier #{@goal.name}"
      - if can?(:delete, @goal)
        = delete_button goal_path(@goal)

    - else
      = context_title "Nouveau dossier"


- content_for :main do
  .well
    = horizontal_form_for [flyboy, @goal] do |f|
      = f.input :name
      = f.input :description

      = form_buttons

= render_contextual

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flyboy-1.1.0 app/views/flyboy/goals/_form.html.slim