OSDN Git Service

Merge branch 'v06' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v06
[pettanr/pettanr.git] / app / assets / javascripts / work / forms.js.coffee.erb
index a56b5fb..017fd19 100644 (file)
@@ -66,6 +66,7 @@
       },\r
     },\r
     field_names: [\r
+      'name',\r
       'controller_name',\r
       'action_name',\r
       'category_id',\r
           type: 'hidden',\r
         },\r
       },\r
+      original_picture_id: {\r
+        label: {\r
+          type: 'none',\r
+        },\r
+        tag: {\r
+          type: 'hidden',\r
+        },\r
+      },\r
+      license_group_id: {\r
+        tag: {\r
+          type: 'select',\r
+        },\r
+      },\r
+    },\r
+    field_names: [\r
+      'id',\r
+      'original_picture_id',\r
+      'license_group_id',\r
+    ]\r
+  },\r
+  original_picture_license: {\r
+    fields: {\r
+      id: {\r
+        label: {\r
+          type: 'none',\r
+        },\r
+        tag: {\r
+          type: 'hidden',\r
+        },\r
+      },\r
+      original_picture_id: {\r
+        label: {\r
+          type: 'none',\r
+        },\r
+        tag: {\r
+          type: 'hidden',\r
+        },\r
+      },\r
       license_group_id: {\r
+        label: {\r
+          type: 'none',\r
+        },\r
+        tag: {\r
+          type: 'hidden',\r
+        },\r
+      },\r
+      license_id: {\r
         tag: {\r
           type: 'select',\r
         },\r
       },\r
+      license_settings: {\r
+        # boost_name: 'license_group',\r
+        row_break: true,\r
+      },\r
+      license_group_module_name: {\r
+        label: {\r
+          type: 'none',\r
+        },\r
+        tag: {\r
+          type: 'hidden',\r
+        },\r
+      },\r
     },\r
     field_names: [\r
       'id',\r
       'original_picture_id',\r
       'license_group_id',\r
+      'license_id',\r
+      'license_settings',\r
+      'license_group_module_name',\r
     ]\r
   },\r
   speech_balloon_template: {\r
       'overlap', \r
     ],\r
   },\r
+  pettanr_creative_commons_v30_licenses_attribute: {\r
+    fields: {\r
+      artist_name: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      caption: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      artist_url: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      source_url: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      more_permission_url: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+    },\r
+    field_names: [\r
+      'artist_name', \r
+      'caption', \r
+      'artist_url', \r
+      'source_url', \r
+      'more_permission_url', \r
+    ],\r
+  },\r
   pettanr_creative_commons_v30_licenses_credit_picture: {\r
     fields: {\r
       source_url_btn_id: {\r
       'overlap', \r
     ],\r
   },\r
+  pettanr_pettan_commons_v01_licenses_attribute: {\r
+    fields: {\r
+      artist_name: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      caption: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      sources: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+    },\r
+    field_names: [\r
+      'artist_name', \r
+      'caption', \r
+      'sources', \r
+    ],\r
+  },\r
   pettanr_pettan_commons_v01_licenses_credit_picture: {\r
     fields: {\r
       source_url_btn_id: {\r
       'trackback', \r
     ],\r
   },\r
+  pettanr_pettan_protected_v01_licenses_attribute: {\r
+    fields: {\r
+      artist_name: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      caption: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      sources: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+    },\r
+    field_names: [\r
+      'artist_name', \r
+      'caption', \r
+      'sources', \r
+    ],\r
+  },\r
   pettanr_pettan_protected_v01_licenses_credit_picture: {\r
     fields: {\r
       source_url_btn_id: {\r
       'trackback', \r
     ],\r
   },\r
+  pettanr_pettan_public_v01_licenses_attribute: {\r
+    fields: {\r
+      artist_name: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      caption: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      sources: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+    },\r
+    field_names: [\r
+      'artist_name', \r
+      'caption', \r
+      'sources', \r
+    ],\r
+  },\r
   pettanr_pettan_public_v01_licenses_credit_picture: {\r
     fields: {\r
       source_url_btn_id: {\r
       'trackback', \r
     ],\r
   },\r
+  pettanr_public_domain_v01_licenses_attribute: {\r
+    fields: {\r
+      artist_name: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      source_url: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      note: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+    },\r
+    field_names: [\r
+      'artist_name', \r
+      'source_url', \r
+      'note', \r
+    ],\r
+  },\r
   pettanr_public_domain_v01_licenses_credit_picture: {\r
     fields: {\r
       source_url_btn_id: {\r
       'trackback', \r
     ],\r
   },\r
+  pettanr_unknown_v01_licenses_attribute: {\r
+    fields: {\r
+      source_url: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+      note: {\r
+        tag: {\r
+          type: 'text',\r
+        },\r
+        row_break: true,\r
+      },\r
+    },\r
+    field_names: [\r
+      'source_url', \r
+      'note', \r
+    ],\r
+  },\r
   pettanr_unknown_v01_licenses_credit_picture: {\r
     fields: {\r
       source_url_btn_id: {\r