app/views/flyboy/goals/_form.html.slim in flyboy-1.0.7 vs app/views/flyboy/goals/_form.html.slim in flyboy-1.1.0
- old
+ new
@@ -1,21 +1,21 @@
- content_for :context do
.goal-context: .context
= context_icon :tasks
- if @goal.persisted?
- = context_title "Modifier #{@goal.title}"
+ = 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 :title
+ = f.input :name
= f.input :description
= form_buttons
= render_contextual