Sha256: 71ce471ffdb78dd6559d9475f450812da57e7ed45ba6351e7ba8903007edba8b
Contents?: true
Size: 885 Bytes
Versions: 2
Compression:
Stored size: 885 Bytes
Contents
- unless @item.new_record? = render partial: "header" = form_for @item, :as => :item, :layout => :horizontal, :remote => !@item.new_record?, :control_col => "col-sm-5", help_scope: "sequences", html: {class: "dispatch-form"}, data: {update_form_path: url_for(action: "update_form") } do |f| - if f.object.new_record? %h2= tw("dispatches.general") - content_for_expert do = f.text_field :name = f.text_field :title - if @item.new_record? = f.maily_list_select .form-group %label.control-label.col-sm-2= tw("attributes.context") .col-sm-5 %p.help-block.context-name = link_to_context_attributes_overview(@item.list, text: true) || tw("dispatches.no_context") = f.maily_start_at_field help: true = f.check_box :override_subscription - if @item.new_record? = f.buttons :create - else = f.buttons :save, :cancel
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
maily_herald-webui-0.9.0 | app/views/maily_herald/webui/sequences/_details_form.html.haml |
maily_herald-webui-0.8.0 | app/views/maily_herald/webui/sequences/_details_form.html.haml |