Sha256: 1ca622c464a647cf218eb0bf7aa3925eb8403488c4aa77633859adb67da50a57

Contents?: true

Size: 455 Bytes

Versions: 14

Compression:

Stored size: 455 Bytes

Contents

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

    - if @goal.persisted?
      = context_title "Modifier #{@goal.title}"
      - 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 :title
      = f.input :description

      = form_buttons

= render_contextual

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
flyboy-1.0.7 app/views/flyboy/goals/_form.html.slim
flyboy-1.0.6 app/views/flyboy/goals/_form.html.slim
flyboy-1.0.5 app/views/flyboy/goals/_form.html.slim
flyboy-1.0.4 app/views/flyboy/goals/_form.html.slim
flyboy-1.0.3 app/views/flyboy/goals/_form.html.slim
flyboy-1.0.2 app/views/flyboy/goals/_form.html.slim
flyboy-1.0.1 app/views/flyboy/goals/_form.html.slim
flyboy-1.0.0 app/views/flyboy/goals/_form.html.slim
flyboy-0.0.6 app/views/flyboy/goals/_form.html.slim
flyboy-0.0.5 app/views/flyboy/goals/_form.html.slim
flyboy-0.0.4 app/views/flyboy/goals/_form.html.slim
flyboy-0.0.3 app/views/flyboy/goals/_form.html.slim
flyboy-0.0.2 app/views/flyboy/goals/_form.html.slim
flyboy-0.0.1 app/views/flyboy/goals/_form.html.slim