Sha256: 6898d65ecc5c0141ac1571768697f47d8251a0d93f738e7057c5f7622173f9e9
Contents?: true
Size: 610 Bytes
Versions: 4
Compression:
Stored size: 610 Bytes
Contents
- content_for :context do .task-context: .context = context_icon :check_square_o - if @task.persisted? = context_title "Modifier #{@task.title}" - if can?(:delete, @task) = delete_button task_path(@task) - else = context_title "Nouvelle tâche" - content_for :main do .well = horizontal_form_for @task do |f| = f.input :title = f.input :description = f.input :reminder, html5: true = f.input :term, html5: true = f.input :budget = f.input :cost = f.hidden_field :goal_id = form_buttons = render_contextual
Version data entries
4 entries across 4 versions & 1 rubygems